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這個事件的起源。

適用於