Searches for the specified object and returns the index of the first occurrence within the entire list.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public virtual int IndexOf(
	Object value
)
Visual Basic
Public Overridable Function IndexOf ( _
	value As Object _
) As Integer

Parameters

value
Type: System..::..Object
The Object to index.

Return Value

The index of value if found in the list; otherwise, -1.

Implements

IList..::..IndexOf(Object)

See Also