|
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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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