Redigera

Dela via


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

Definition

Performs the specified action on each element of the immutable list.

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

Parameters

action
Action<T>

The delegate to perform on each element of the immutable list.

Applies to