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.
ImmutableList<T>::IndexOf Method (T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Parameters
- value
-
Type:
T
The object to locate in the immutable list. The value can be null for reference types.
Return Value
Type: System::Int32The zero-based index of the first occurrence of value within the entire immutable list, if found; otherwise, ?1.
Implements
IList<T>::IndexOf(T)
Show: