Redigera

Dela via


ActivityCollectionChangeEventArgs Constructors

Definition

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

Overloads

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

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

ActivityCollectionChangeEventArgs(Int32, Activity, Activity, Object, ActivityCollectionChangeAction)

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

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

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

public:
 ActivityCollectionChangeEventArgs(int index, System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ removedItems, System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ addedItems, System::Object ^ owner, System::Workflow::ComponentModel::ActivityCollectionChangeAction action);
public ActivityCollectionChangeEventArgs (int index, System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> removedItems, System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> addedItems, object owner, System.Workflow.ComponentModel.ActivityCollectionChangeAction action);
new System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs : int * System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> * System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> * obj * System.Workflow.ComponentModel.ActivityCollectionChangeAction -> System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs
Public Sub New (index As Integer, removedItems As ICollection(Of Activity), addedItems As ICollection(Of Activity), owner As Object, action As ActivityCollectionChangeAction)

Parameters

index
Int32

The index of the change within the subject ActivityCollection.

removedItems
ICollection<Activity>

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

addedItems
ICollection<Activity>

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

owner
Object

The Object which originated the event.

action
ActivityCollectionChangeAction

The ActivityCollectionChangeAction corresponding to the event.

Applies to

ActivityCollectionChangeEventArgs(Int32, Activity, Activity, Object, ActivityCollectionChangeAction)

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

public:
 ActivityCollectionChangeEventArgs(int index, System::Workflow::ComponentModel::Activity ^ removedActivity, System::Workflow::ComponentModel::Activity ^ addedActivity, System::Object ^ owner, System::Workflow::ComponentModel::ActivityCollectionChangeAction action);
public ActivityCollectionChangeEventArgs (int index, System.Workflow.ComponentModel.Activity removedActivity, System.Workflow.ComponentModel.Activity addedActivity, object owner, System.Workflow.ComponentModel.ActivityCollectionChangeAction action);
new System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs : int * System.Workflow.ComponentModel.Activity * System.Workflow.ComponentModel.Activity * obj * System.Workflow.ComponentModel.ActivityCollectionChangeAction -> System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs
Public Sub New (index As Integer, removedActivity As Activity, addedActivity As Activity, owner As Object, action As ActivityCollectionChangeAction)

Parameters

index
Int32

The index of the change within the subject ActivityCollection.

removedActivity
Activity

The Activity which was removed from the collection.

addedActivity
Activity

The Activity which was added to the collection.

owner
Object

The Object which originated the event.

action
ActivityCollectionChangeAction

The ActivityCollectionChangeAction corresponding to the event.

Applies to