|
ITableOperationsFieldHasAttribute(String, Type) Method
|
Determines if the specified field has an associated attribute.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxbool FieldHasAttribute(
string fieldName,
Type attributeType
)
Function FieldHasAttribute (
fieldName As String,
attributeType As Type
) As Boolean
bool FieldHasAttribute(
String^ fieldName,
Type^ attributeType
)
abstract FieldHasAttribute :
fieldName : string *
attributeType : Type -> bool function FieldHasAttribute(fieldName, attributeType);
View SourceParameters
- fieldName String
- Name of field to use for attribute lookup.
- attributeType Type
- Type of attribute to search for.
Return Value
Booleantrue if field has attribute; otherwise,
false.
Exceptions| Exception | Condition |
|---|
| ArgumentException | attributeType is not an Attribute. |
See Also