com.esri.arcgis.geodatabase
Interface ITableFields

All Superinterfaces:
Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadastralFabricSubLayer, CadFeatureLayer, CoverageAnnotationLayer, DimensionLayer, FDOGraphicsLayer, FeatureLayer, GdbRasterCatalogLayer, ImageServerLayer, IMSSubFeatureLayer, ITableFieldsProxy, RasterLayer, StandaloneTable, TemporalFeatureLayer, TinLayer

public interface ITableFields
extends Serializable

Provides access to members that return information about a table.

Remarks

You can use the ITableFields interface to return the field count and to get particular fields.

The FieldInfo property provides extended information on the field; it returns an IFieldInfo reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int findField(String fieldName)
          The index of the field with the given name.
 IField getField(int index)
          The field at the given index.
 int getFieldCount()
          The field count.
 IFieldInfo getFieldInfo(int index)
          The extended field information for the field at the given index.
 

Method Detail

getFieldCount

int getFieldCount()
                  throws IOException,
                         AutomationException
The field count.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getField

IField getField(int index)
                throws IOException,
                       AutomationException
The field at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IField
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldInfo

IFieldInfo getFieldInfo(int index)
                        throws IOException,
                               AutomationException
The extended field information for the field at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFieldInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findField

int findField(String fieldName)
              throws IOException,
                     AutomationException
The index of the field with the given name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fieldName - The fieldName (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.