Searches the collection for the specified
object and returns a zero-based index of the first occurrence
within the collection, if found; otherwise, -1.
| [Visual Basic .NET] |
|---|
Public Function IndexOf( _
ByVal Name As String _
) As Integer
|
| [C#] |
|---|
public int IndexOf(
|
| [Managed C++] |
|---|
public: int IndexOf(
|
| [Java] |
|---|
public int indexOf(
|
| [Unmanaged C++] |
|---|
public: HRESULT IndexOf(
|
- Name