Click or drag to resize

TableOperationsTTryGetFieldAttribute(String, Type, Attribute) Method

Attempts to get the specified attributeType for a field.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntax
public bool TryGetFieldAttribute(
	string fieldName,
	Type attributeType,
	out Attribute attribute
)
View Source

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
ExceptionCondition
ArgumentExceptionattributeType is not an Attribute.
See Also