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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.