Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: int IndexOf(T)

  • Declared in: RT.KitchenSink.Collections.LazyList<T>
  • Implements: IList<T>.IndexOf(T)

Declaration

public int IndexOf(
    T item
)

Summary

Returns the index of the specified item, or -1 if the item is not found.

Parameters

TitemThe item to find in the collection.

Remarks

The underlying collection is enumerated until the item is found, or fully if the item is not in it.