This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > II > IIndexes Interface > IIndexes.FindIndex Method (ArcObjects .NET 10.4 SDK) |
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
If no index is found, pos returns -1.