ITableOperationsTryGetFieldAttribute(String, Type, Attribute) Method
Attempts to get the specified attributeType for a field.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.158 -- Release Build+a7370acff9f7a1e0ca1927f709880b2a82e0bdf0
bool TryGetFieldAttribute(
string fieldName,
Type attributeType,
out Attribute?? attribute
)
Function TryGetFieldAttribute (
fieldName As String,
attributeType As Type,
<OutAttribute> ByRef attribute As Attribute
) As Boolean
bool TryGetFieldAttribute(
String^ fieldName,
Type^ attributeType,
[OutAttribute] Attribute^% attribute
)
function TryGetFieldAttribute(fieldName, attributeType, attribute);
- fieldName String
- Name of field to use for attribute lookup.
- attributeType Type
- Type of attribute to attempt to get.
- attribute Attribute
- Attribute that was found, if any.
Booleantrue if attribute was found; otherwise,
false.
| ArgumentException | attributeType is not an Attribute. |