Click or drag to resize

TableOperationsTTryGetFieldAttributeTAttribute(String, TAttribute) Method

Attempts to get the specified attribute for a field.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
Syntax
public bool TryGetFieldAttribute<TAttribute>(
	string fieldName,
	out TAttribute attribute
)
where TAttribute : Attribute
View Source

Parameters

fieldName  String
Name of field to use for attribute lookup.
attribute  TAttribute
Attribute that was found, if any.

Type Parameters

TAttribute
Type of attribute to attempt to get.

Return Value

Boolean
true if attribute was found; otherwise, false.

Implements

ITableOperationsTryGetFieldAttributeTAttribute(String, TAttribute)
See Also