Gemstone Data Library
Show/Hide TOC

# ITableOperationsFieldHasAttributeTAttribute(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.156 -- Release Build+dcdaaebc8db0d076f561458ac184e317c7d68401
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