EyeshotCollection<T>.ForEach Method

Performs the specified action on each element of the collection.
Public Sub ForEach( _ 
ByVal action As Action(Of T) _ 
)
This language is not supported or no code example is available.
public void ForEach( 
Action<T> action 
)
This language is not supported or no code example is available.

Parameters

action
Action<T>

The action delegate to perform on each element of this collection.

Exception type Condition

ArgumentNullException

action is null.

InvalidOperationException

An element in the collection has been modified.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition