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.159 -- Release Build+9666939f99852a601f77d33e6f63320df255766c
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