EnumerableExtensions.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.Collections.Generic.IEnumerable<T>
For internal use by the Xamarin.Forms platform.
- predicate
- System.Func<T,System.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
- System.Collections.Generic.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.