ITableOperationsTryGetFieldAttribute(String, Type, Attribute) Method

Attempts to get the specified attributeType for a field.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.141 -- Release Build+5f6e192e4b7ed0f35a118ae12c275adc521bb865
bool TryGetFieldAttribute(
	string fieldName,
	Type attributeType,
	out Attribute?? attribute
)

Parameters

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.

Return Value

Boolean
true if attribute was found; otherwise, false.

Exceptions

ArgumentExceptionattributeType is not an Attribute.

See Also