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( string Name ); |
[Managed C++] |
---|
public: int IndexOf( String __gc ^ Name ); |
[Java] |
---|
public int indexOf( String Name ); |
[Python - STK API ] |
---|
def IndexOf(self, Name:str) -> int: |
- Name