Прочетете на английски Редактиране

Споделяне чрез


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.

C#
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);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

C#
public ActivityCollectionChangeEventArgs(int index, System.Workflow.ComponentModel.Activity removedActivity, System.Workflow.ComponentModel.Activity addedActivity, object owner, System.Workflow.ComponentModel.ActivityCollectionChangeAction action);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1