Gemstone Data Library
Show/Hide TOC

# ITableOperationsFieldHasAttribute TAttribute(String) Method

Determines if the specified field has an associated attribute.

## Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
C#
View Source Request Example

    bool FieldHasAttribute<TAttribute>(
    	string fieldName
    )
    where TAttribute : Attribute

VB
View Source Request Example

    Function FieldHasAttribute(Of TAttribute As Attribute) (
    	fieldName As String
    ) As Boolean

C++
View Source Request Example

    generic<typename TAttribute>
    where TAttribute : Attribute
    bool FieldHasAttribute(
    	String^ fieldName
    )

JavaScript
View Source Request Example

    JavaScript does not support generic types or methods.

#### Parameters

fieldName String
  Name of field to use for attribute lookup.

#### Type Parameters

TAttribute
  Type of attribute to search for.

#### Return Value

Boolean
true if field has attribute; otherwise, false.

## See Also

#### Reference

ITableOperations Interface
FieldHasAttribute Overload
Gemstone.Data.Model Namespace