ActivityCollectionChangeEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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。
這與 ActivityCollectionChangeAction 事件相符。
適用於
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內變化的指標。
這與 ActivityCollectionChangeAction 事件相符。