|
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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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.
ExceptionsException | Condition |
---|
ArgumentException | attributeType is not an Attribute. |
See Also