ActivityCollectionChangeEventArgs 建構函式

定義

初始化 ActivityCollectionChangeEventArgs 類別的新執行個體。

多載

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

初始化 ActivityCollectionChangeEventArgs 類別的新執行個體。

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

初始化 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

適用於