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.128 -- Release Build+cb657b646daac3e9cc5384ff42ed4530df50eab1
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