Collection.IList.IndexOf Method (Object)

 

Determines the index of a specific item in the Collection object. Implements the IList interface.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

int IList.IndexOf(
	object value
)

Parameters

value
Type: System.Object

The Object to locate in the Collection object.

Return Value

Type: System.Int32

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

This method determines the index of a specific item in the Collection object.

Return to top
Show: