Skip to content

ListObservable.IndexOf(T) method

Defined in

Type: ListObservable Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

public int IndexOf(T item)

Inherited documentation

These docs were inherited from IList<T>. The member doesn't override them on this type.

Summary: Determines the index of a specific item in the IList.

Parameters

NameTypeDescription
itemTThe object to locate in the IList.

Returns: int -- The index of item if found in the list; otherwise, -1.