IndexOf Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines the index of a specific item in the IList.

Namespace:  System.Collections
Assembly:  mscorlib (in mscorlib.dll)

int IndexOf(
	Object value
)

Parameters

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

Return Value

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

Show: