Determines the index of a specific item in the ItemCollection.

Namespace:  DlhSoft.Windows.Controls.Primitives
Assembly:  DlhSoft.Data.Controls (in DlhSoft.Data.Controls.dll)

Syntax

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

Parameters

item
Type: System..::.Object
The object to locate in the ItemCollection.

Return Value

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

Implements

IList..::.IndexOf(Object)

See Also