Chili.Opf3 Send comments on this topic.
ForEach Method
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class : ForEach Method




action
The Action delegate to perform on each element of the ObjectSet.
Performs the specified action on each element of the ObjectSet.

Syntax

Visual Basic (Declaration) 
Public Sub ForEach( _
   ByVal action As Action(Of T) _
) 
Visual Basic (Usage)Copy Code
Dim instance As ObjectSet(Of T)
Dim action As Action(Of T)
 
instance.ForEach(action)
C# 
public void ForEach( 
   Action<T> action
)
Managed Extensions for C++ 
public: void ForEach( 
   Action<T>* action
) 
C++/CLI 
public:
void ForEach( 
   Action<T>^ action
) 

Parameters

action
The Action delegate to perform on each element of the ObjectSet.

Exceptions

ExceptionDescription
ArgumentNullExceptionAction is null.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also