Searches for the specified string object and returns the zero-based index of the first occurrence within the entire list.
Namespace: Ico.GwxAssembly: GwxRuntimeCoreCommands (in GwxRuntimeCoreCommands.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public int IndexOf(
string value
) |
Visual Basic |
---|
Public Function IndexOf ( _
value As String _
) As Integer |
JScript |
---|
public function IndexOf(
value : String
) : int |
Parameters
- value
- Type: System..::..String
The string object to locate in the list.
Return Value
The zero-based index of the first occurrence of value within the entire ArrayList, if found; otherwise, -1.
See Also