ArcObjects Library Reference (GeoDatabase)  

IIndexes.FindIndex Method

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

[Visual Basic .NET]
Public Sub FindIndex ( _
    ByVal Name As String, _
    ByRef pos As Integer _
)
[C#]
public void FindIndex (
    string Name,
    ref int pos
);
[C++]
HRESULT FindIndex(
  BSTR Name,
  long* pos
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR pos [out]   pos is a parameter of type long

Product Availability

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

Errors Returned

If no index is found, pos returns -1.

See Also

IIndexes Interface

.NET Related Topics

Creating indexes | Working with indexes