ImmutableList<T>.ForEach(Action<T>) Metod

Definition

Utför den angivna åtgärden för varje element i den oföränderliga listan.

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))

Parametrar

action
Action<T>

Ombudet som ska utföras på varje element i den oföränderliga listan.

Gäller för