Export (0) Print
Expand All

ImmutableSortedSet<T>.IList.IndexOf Method

Determines the index of a specific item in the set.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

int IList.IndexOf(
	Object value
)

Parameters

value
Type: System.Object

The object to locate in the set.

Return Value

Type: System.Int32
The index of value if found in the list; otherwise, -1.

Implements

IList.IndexOf(Object)

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an IList interface.

NuGet package: Microsoft.Bcl.Immutable (about immutable collections and how to install)

Show:
© 2014 Microsoft