|
TableOperationsTFieldHasAttributeTAttribute(String) 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
Syntaxpublic bool FieldHasAttribute<TAttribute>(
string fieldName
)
where TAttribute : Attribute
Public Function FieldHasAttribute(Of TAttribute As Attribute) (
fieldName As String
) As Boolean
public:
generic<typename TAttribute>
where TAttribute : Attribute
virtual bool FieldHasAttribute(
String^ fieldName
) sealed
abstract FieldHasAttribute :
fieldName : string -> bool when 'TAttribute : Attribute
override 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.
Implements
ITableOperationsFieldHasAttributeTAttribute(String)
See Also