|
ITableOperationsFieldHasAttributeTAttribute(String) 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<TAttribute>(
string fieldName
)
where TAttribute : Attribute
Function FieldHasAttribute(Of TAttribute As Attribute) (
fieldName As String
) As Boolean
generic<typename TAttribute>
where TAttribute : Attribute
bool FieldHasAttribute(
String^ fieldName
)
abstract FieldHasAttribute :
fieldName : string -> bool when 'TAttribute : Attribute
JavaScript does not support generic types or methods.
View SourceParameters
- fieldName String
- Name of field to use for attribute lookup.
Type Parameters
- TAttribute
- Type of attribute to search for.
Return Value
Booleantrue if field has attribute; otherwise,
false.
See Also