你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GeneralUtilities.ForEach<T> Method

Definition

public static void ForEach<T> (this System.Collections.Generic.IEnumerable<T> sequence, Action<T> action);
static member ForEach : seq<'T> * Action<'T> -> unit
<Extension()>
Public Sub ForEach(Of T) (sequence As IEnumerable(Of T), action As Action(Of T))

Type Parameters

T

Parameters

sequence
IEnumerable<T>
action
Action<T>

Applies to