This document is archived and information here might be outdated. Recommended version. |
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,
System.Int32* 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.