Share via


ReadOnlyLinkedElementCollection<T>.ForEach Method

Runs the specified action on all elements in the collection.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Sub ForEach ( _
    action As Action(Of T) _
)
public void ForEach(
    Action<T> action
)
public:
void ForEach(
    Action<T>^ action
)
member ForEach : 
        action:Action<'T> -> unit
public function ForEach(
    action : Action<T>
)

Parameters

  • action
    Type: Action<T>

    An Action to run.

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace