Error processing SSI file
LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)

Show in webframe

ForEach<T> Method






The IEnumerable object to iterate over.
The source enumeration
The action to perform.
Extension method provides a foreach like wrapper for IEnumerable.
Syntax
[ExtensionAttribute()]
public static void ForEach<T>( 
   IEnumerable<T> source,
   Action<T> action
)
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub ForEach(Of T)( _
   ByVal source As IEnumerable(Of T), _
   ByVal action As Action(Of T) _
) 
'Usage
 
Dim source As IEnumerable(Of T)
Dim action As Action(Of T)
 
Extensions.ForEach(Of T)(source, action)

            

            
[ExtensionAttribute()]
public:
static void ForEachgeneric<typename T>
( 
   IEnumerable<T^>^ source,
   Action<T^>^ action
) 

Parameters

source
The source enumeration
action
The action to perform.

Type Parameters

T
The IEnumerable object to iterate over.
Requirements

Target Platforms

See Also

Reference

Extensions Class
Extensions Members

Error processing SSI file
Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features