ImmutableList<T>.FindLastIndex Méthode

Définition

Surcharges

FindLastIndex(Int32, Int32, Predicate<T>)

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence trouvée dans la plage d’éléments de la liste immuable qui contient le nombre d’éléments spécifié et se termine à l’index spécifié.

FindLastIndex(Predicate<T>)

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence de l’intégralité de la liste immuable.

FindLastIndex(Int32, Predicate<T>)

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence dans la plage d’éléments de la liste immuable qui s’étend du premier élément à l’index spécifié.

FindLastIndex(Int32, Int32, Predicate<T>)

Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence trouvée dans la plage d’éléments de la liste immuable qui contient le nombre d’éléments spécifié et se termine à l’index spécifié.

public:
 virtual int FindLastIndex(int startIndex, int count, Predicate<T> ^ match);
public:
 int FindLastIndex(int startIndex, int count, Predicate<T> ^ match);
public int FindLastIndex (int startIndex, int count, Predicate<T> match);
abstract member FindLastIndex : int * int * Predicate<'T> -> int
override this.FindLastIndex : int * int * Predicate<'T> -> int
member this.FindLastIndex : int * int * Predicate<'T> -> int
Public Function FindLastIndex (startIndex As Integer, count As Integer, match As Predicate(Of T)) As Integer

Paramètres

startIndex
Int32

Index de début de base zéro de la recherche vers le haut.

count
Int32

Nombre d’éléments contenus dans la section où la recherche doit être effectuée.

match
Predicate<T>

Délégué qui définit les conditions de l’élément à rechercher.

Retours

Index de base zéro de la dernière occurrence d’un élément qui correspond aux conditions définies par match, le cas échéant ; sinon, -1.

S’applique à

FindLastIndex(Predicate<T>)

Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence de l’intégralité de la liste immuable.

public:
 virtual int FindLastIndex(Predicate<T> ^ match);
public:
 int FindLastIndex(Predicate<T> ^ match);
public int FindLastIndex (Predicate<T> match);
abstract member FindLastIndex : Predicate<'T> -> int
override this.FindLastIndex : Predicate<'T> -> int
member this.FindLastIndex : Predicate<'T> -> int
Public Function FindLastIndex (match As Predicate(Of T)) As Integer

Paramètres

match
Predicate<T>

Délégué qui définit les conditions de l’élément à rechercher.

Retours

Index de base zéro de la dernière occurrence d’un élément qui correspond aux conditions définies par match, le cas échéant ; sinon, -1.

S’applique à

FindLastIndex(Int32, Predicate<T>)

Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne l’index de base zéro de la dernière occurrence dans la plage d’éléments de la liste immuable qui s’étend du premier élément à l’index spécifié.

public:
 virtual int FindLastIndex(int startIndex, Predicate<T> ^ match);
public:
 int FindLastIndex(int startIndex, Predicate<T> ^ match);
public int FindLastIndex (int startIndex, Predicate<T> match);
abstract member FindLastIndex : int * Predicate<'T> -> int
override this.FindLastIndex : int * Predicate<'T> -> int
member this.FindLastIndex : int * Predicate<'T> -> int
Public Function FindLastIndex (startIndex As Integer, match As Predicate(Of T)) As Integer

Paramètres

startIndex
Int32

Index de début de base zéro de la recherche vers le haut.

match
Predicate<T>

Délégué qui définit les conditions de l’élément à rechercher.

Retours

Index de base zéro de la dernière occurrence d’un élément qui correspond aux conditions définies par match, le cas échéant ; sinon, -1.

S’applique à