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.147 -- Release Build+c5cc8ba56e7568e903c204fe8ae9773b97af8eef
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