Foley .NET Utilities Class Library

List2Base.IndexOf Method 

When implemented by a class, searches for the specified Object and returns the zero-based index of the first occurrence within the list.

[Visual Basic]
MustOverride Public Function IndexOf( _
   ByVal value As Object _
) As Integer Implements _
   IList.IndexOf
[C#]
public abstract int IndexOf(
   object value
);

Parameters

value
The Object to locate in the list.

Return Value

The zero-based index of the first occurrence of Object within the list, if found; otherwise, -1.

Implements

IList.IndexOf

See Also

List2Base Class | List2Base Members | Foley.Utilities.Collections Namespace