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.160 -- Release Build+0b65775365098d82320afec1fcaed7affaca67e3
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