다음을 통해 공유


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

Definition

Runs specified action on all elements in collection.

public:
 void ForEach(Action<T> ^ action);
public void ForEach (Action<T> action);
member this.ForEach : Action<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> unit
Public Sub ForEach (action As Action(Of T))

Parameters

action
Action<T>

Action.

Applies to