ActivityCollectionChangeEventArgs 构造函数

定义

初始化 ActivityCollectionChangeEventArgs 类的新实例。

重载

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

初始化 ActivityCollectionChangeEventArgs 类的新实例。

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)

参数

index
Int32

主题 ActivityCollection中更改的索引。

removedItems
ICollection<Activity>

包含每个已删除ICollection的强类型的Activity类型Activity

addedItems
ICollection<Activity>

包含每个添加ICollection的强类型的Activity类型Activity

owner
Object

Object发起事件的源。

适用于

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

初始化 ActivityCollectionChangeEventArgs 类的新实例。

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)

参数

index
Int32

主题 ActivityCollection中更改的索引。

removedActivity
Activity

Activity 集合中删除的项。

addedActivity
Activity

Activity 添加到集合中的项。

owner
Object

Object发起事件的源。

适用于