Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableSortedSet<T>::IList::IndexOf Method (Object^)

 

Determines the index of a specific item in the set.

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

private:
virtual int IndexOf(
	Object^ value
) sealed = IList::IndexOf

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.

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: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show:
© 2017 Microsoft