ActivityCollectionChangeEventArgs Constructor (Int32, ICollection<Activity^>^, ICollection<Activity^>^, Object^, ActivityCollectionChangeAction)

 

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
ActivityCollectionChangeEventArgs(
	int index,
	ICollection<Activity^>^ removedItems,
	ICollection<Activity^>^ addedItems,
	Object^ owner,
	ActivityCollectionChangeAction action
)

Parameters

index
Type: System::Int32

The index of the change within the subject ActivityCollection.

removedItems
Type: System.Collections.Generic::ICollection<Activity^>^

A strongly typed ICollection of type Activity containing each removed Activity.

addedItems
Type: System.Collections.Generic::ICollection<Activity^>^

A strongly typed ICollection of type Activity containing each added Activity.

owner
Type: System::Object^

The Object which originated the event.

action
Type: System.Workflow.ComponentModel::ActivityCollectionChangeAction

The ActivityCollectionChangeAction corresponding to the event.

.NET Framework
Available since 3.0
Return to top
Show: