TableOperationsTTryGetFieldAttribute(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.110 -- Release Build+b4bcf74734aa051a9b802d8f3f6ec05bd02af749
public 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.

Implements

ITableOperationsTryGetFieldAttribute(String, Type, Attribute)

Exceptions

ArgumentExceptionattributeType is not an Attribute.

See Also