|
TableOperationsTTryGetFieldAttributeTAttribute(String, TAttribute) Method
|
Attempts to get the specified attribute for a field.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax public bool TryGetFieldAttribute<TAttribute>(
string fieldName,
out TAttribute attribute
)
where TAttribute : Attribute
public:
generic<typename TAttribute>
where TAttribute : Attribute
virtual bool TryGetFieldAttribute(
String^ fieldName,
[OutAttribute] TAttribute% attribute
) sealed
abstract TryGetFieldAttribute :
fieldName : string *
attribute : 'TAttribute byref -> bool when 'TAttribute : Attribute
override TryGetFieldAttribute :
fieldName : string *
attribute : 'TAttribute byref -> bool when 'TAttribute : Attribute
JavaScript does not support generic types or methods.
View SourceParameters
- 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
Booleantrue if attribute was found; otherwise,
false.
Implements
ITableOperationsTryGetFieldAttributeTAttribute(String, TAttribute)See Also