| 
            
              ITableOperationsTryGetFieldAttribute(String, Type, Attribute) Method
             | 
          
        
        
            Attempts to get the specified attributeType for a field.
            
        
        Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
Syntaxbool TryGetFieldAttribute(
	string fieldName,
	Type attributeType,
	out Attribute attribute
)
Function TryGetFieldAttribute ( 
	fieldName As String,
	attributeType As Type,
	<OutAttribute> ByRef attribute As Attribute
) As Boolean
bool TryGetFieldAttribute(
	String^ fieldName, 
	Type^ attributeType, 
	[OutAttribute] Attribute^% attribute
)
abstract TryGetFieldAttribute : 
        fieldName : string * 
        attributeType : Type * 
        attribute : Attribute byref -> bool function TryGetFieldAttribute(fieldName, attributeType, attribute);
 View SourceParameters
- 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
Booleantrue if attribute was found; otherwise, 
false.
Exceptions| Exception | Condition | 
|---|
| ArgumentException | attributeType is not an Attribute. | 
See Also