IList(T).IndexOf Method

ArraySegment<T>.IList<T>.IndexOf Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines the index of a specific item in the array segment.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

int IList<T>.IndexOf(
	T item
)

Parameters

item
Type: T
The object to locate in the array segment.

Return Value

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

Implements

IList<T>.IndexOf(T)

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft