Determines the index of a specific item in the IList.

Namespace: Dapfor.Net.Data
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

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