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。