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.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
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