IIndexes Interface

Provides access to members that return information about the index collection.

Members

Name Description
Method FindIndex Finds the position of the named index in the indexes collection.
Method FindIndexesByFieldName The set of indexes for a given field name (if any).
Read-only property Index The index at the specified position in the indexes collection.
Read-only property IndexCount The number of indexes in the indexes collection.

IIndexes.FindIndex Method

Finds the position of the named index in the indexes collection.

Public Sub FindIndex ( _
    ByVal Name As String, _
    ByRef pos As Integer _
)
public void FindIndex (
    string Name,
    ref int pos
);

Errors Returned

If no index is found, _pos_returns -1.

IIndexes.FindIndexesByFieldName Method

The set of indexes for a given field name (if any).

Public Function FindIndexesByFieldName ( _
    ByVal FieldName As String _
) As IEnumIndex
public IEnumIndex FindIndexesByFieldName (
    string FieldName
);

IIndexes.Index Property

The index at the specified position in the indexes collection.

Public Function get_Index ( _
    ByVal pos As Integer _
) As IIndex
public IIndex get_Index (
    int pos
);

IIndexes.IndexCount Property

The number of indexes in the indexes collection.

Public ReadOnly Property IndexCount As Integer
public int IndexCount {get;}

Classes that implement IIndexes

Classes Description
Indexes Esri Indices object.

Remarks

The IIndexesinterface provides access to individual indexes. It is obtained from a table or feature class by using IClass::Indexes. Indexes are stored with a zero based index.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.