Share via


Collection.IListIndexOf Method

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)

Private Function IListIndexOf( _
   ByVal value As Object _
) As Integer Implements IList.IndexOf
private int IListIndexOf(
   object value
);

Parameters

  • value
    The Object to locate in the Collection object.

Return Value

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

Remarks

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

Version Information

.NET Framework

Supported in: 2.0, 1.1, 1.0

See Also

Reference

Collection
IList
IndexOf