SyntaxGenerator.IndexOf<T>(IReadOnlyList<T>, T) 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.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.