ImmutableList<T>.Builder.ForEach(Action<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exécute l’action spécifiée sur chaque élément de la liste.
public:
virtual void ForEach(Action<T> ^ action);
public:
void ForEach(Action<T> ^ action);
public void ForEach (Action<T> action);
abstract member ForEach : Action<'T> -> unit
override this.ForEach : Action<'T> -> unit
member this.ForEach : Action<'T> -> unit
Public Sub ForEach (action As Action(Of T))
Paramètres
- action
- Action<T>
Délégué à exécuter sur chaque élément de la liste.