DXCollectionBase<T>.ForEach(Action<T>) Method
In This Article
Performs the specified action on each element of the DXCollectionBase<T>.
Namespace: DevExpress.Utils
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
action | Action<T> | The Action<T> delegate to perform on each element of the DXCollection |
#Remarks
The Action<T> is a delegate to a method that performs an action on the object passed to it. The elements of the current DXCollectionBase<T> are individually passed to the Action<T> delegate.
See Also