Searches for the specified item and returns the zero-based index of the first occurrence within the collection.
Namespace:
C1.Web.CommandAssembly: C1.Web.Command.2 (in C1.Web.Command.2.dll)
Syntax
| C# |
|---|
public int IndexOf( Object value ) |
| Visual Basic (Declaration) |
|---|
Public Function IndexOf ( _ value As Object _ ) As Integer |
Parameters
- value
- Type: System..::.Object
The item to locate in the collection.