SyntaxGenerator.IndexOf<T>(IReadOnlyList<T>, T) Method

Definition

protected:
generic <typename T>
 int IndexOf(System::Collections::Generic::IReadOnlyList<T> ^ list, T element);
protected int IndexOf<T> (System.Collections.Generic.IReadOnlyList<T> list, T element);
member this.IndexOf : System.Collections.Generic.IReadOnlyList<'T> * 'T -> int
Protected Function IndexOf(Of T) (list As IReadOnlyList(Of T), element As T) As Integer

Type Parameters

T

Parameters

list
IReadOnlyList<T>
element
T

Returns

Applies to