Interface IIndex

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that return information about the index.

[Guid("2063FD01-4CE0-11D1-89DB-006097AFF44E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IIndex

Remarks

The IIndex interface is used for read-only access to the properties of an index.

Properties

Fields

The fields collection for this index.

IFields Fields { get; }

Property Value

IFields

Remarks

<P>Each table in a database has an ordered collection of fields, there is always at least one field in a table. The ordered collection behaves like a list, so it is possible to access individual fields by a numbered position (or index) in the list.</P> <P>A <STRONG>Fields </STRONG>collection can also exist independently of a table, for example when creating an index on a table you will need to define which fields take part in the index. There are many interfaces which either require or return a <STRONG>Fields </STRONG>collection; these include <STRONG>IClass </STRONG>(therefore also <STRONG>IObjectClass </STRONG>and <STRONG>IFeatureClass</STRONG>), <STRONG>ICursor</STRONG>, <STRONG>IIndex</STRONG>, <STRONG>IFeatureClassDraw</STRONG>, <STRONG>IRowBuffer</STRONG>, <STRONG>ISimpleDataConverter</STRONG>, <STRONG>ITableSort </STRONG>and <STRONG>IValidate</STRONG>.</P>

IsAscending

Indicates if the index is based on ascending order.

bool IsAscending { get; }

Property Value

bool

IsUnique

Indicates if the index is unique.

bool IsUnique { get; }

Property Value

bool

Remarks

If IsUnique is true, the field the Index was created for must not have duplicate values.

Name

The name of the index.

string Name { get; }

Property Value

string