Visual Basic (Declaration) | |
---|---|
Public Function IndexOf( _ ByVal value As System.String _ ) As System.Integer |
C# | |
---|---|
public System.int IndexOf( System.string value ) |
Parameters
- value
- The label to locate in the collection.
Return Value
The index of the first occurrence of the value within the entire array, if found; otherwise, the lower bound of the array - 1.