EnumerableExtensions.IndexOf Method

Definition

Overloads

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

public static int IndexOf<T> (this System.Collections.Generic.IEnumerable<T> enumerable, Func<T,bool> predicate);
static member IndexOf : seq<'T> * Func<'T, bool> -> int

Type Parameters

T

For internal use by the Xamarin.Forms platform.

Parameters

enumerable
IEnumerable<T>

For internal use by the Xamarin.Forms platform.

predicate
Func<T,Boolean>

For internal use by the Xamarin.Forms platform.

Returns

For internal use by the Xamarin.Forms platform.

Applies to

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

public static int IndexOf<T> (this System.Collections.Generic.IEnumerable<T> enumerable, T item);
static member IndexOf : seq<'T> * 'T -> int

Type Parameters

T

For internal use by the Xamarin.Forms platform.

Parameters

enumerable
IEnumerable<T>

For internal use by the Xamarin.Forms platform.

item
T

For internal use by the Xamarin.Forms platform.

Returns

For internal use by the Xamarin.Forms platform.

Applies to