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.163 -- Release Build+b7c062313779c243eb4689aaf08bfd5bae61c6da
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