Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Dicom.AddIn Namespace > Extensions Class : ForEach<T> Method |
[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 )