ImmutableList<T>.Builder.ForEach(Action<T>) 方法

定义

对列表的每个元素执行指定操作。

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

参数

action
Action<T>

要对列表的每个元素执行的委托。

适用于