Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int IndexOf(
	Object obj
)
Visual Basic
Public Function IndexOf ( _
	obj As Object _
) As Integer

Parameters

obj
Type: System..::..Object
The Object to locate in the collection. The value can be a null reference.

Return Value

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

See Also