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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.