ArcFM Engine Developer Guide
ForEach<T> Method


Enumerates a collection of items and performs an action on each item
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub ForEach(Of T)( _
   ByVal collection As IEnumerable(Of T), _
   ByVal action As Action(Of T) _
) 
'Usage
 
Dim collection As IEnumerable(Of T)
Dim action As Action(Of T)
 
EnumerableExtensions.ForEach(Of T)(collection, action)
[Extension()]
public static void ForEach<T>( 
   IEnumerable<T> collection,
   Action<T> action
)

Parameters

collection
action

Type Parameters

T
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members

 

 


Send Comment