Determines the index of a specific item in the IList.

Namespace: Dapfor.Wpf.Data
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public int IndexOf(
	Object value
)
Visual Basic
Public Function IndexOf ( 
	value As Object
) As Integer
Visual C++
public:
virtual int IndexOf(
	Object^ value
) sealed
F#
abstract IndexOf : 
        value : Object -> int 
override IndexOf : 
        value : Object -> int 

Parameters

value
Type: System..::..Object
The Object to locate in the IList.

Return Value

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

Implements

IList..::..IndexOf(Object)

See Also