ActivityCollectionChangeEventArgs 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

表示事件处理程序在更改内容 ActivityCollection 时执行自定义处理所需的信息。

public ref class ActivityCollectionChangeEventArgs sealed : EventArgs
public sealed class ActivityCollectionChangeEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityCollectionChangeEventArgs : EventArgs
type ActivityCollectionChangeEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCollectionChangeEventArgs = class
    inherit EventArgs
Public NotInheritable Class ActivityCollectionChangeEventArgs
Inherits EventArgs
继承
ActivityCollectionChangeEventArgs
属性

注解

注意

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

有关如何处理事件的详细信息,请参阅 处理和引发事件

构造函数

名称 说明
ActivityCollectionChangeEventArgs(Int32, Activity, Activity, Object, ActivityCollectionChangeAction)
已过时.

初始化 ActivityCollectionChangeEventArgs 类的新实例。

ActivityCollectionChangeEventArgs(Int32, ICollection<Activity>, ICollection<Activity>, Object, ActivityCollectionChangeAction)
已过时.

初始化 ActivityCollectionChangeEventArgs 类的新实例。

属性

名称 说明
Action
已过时.

获取 ActivityCollectionChangeAction 表示发生的更改类型。

AddedItems
已过时.

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

Index
已过时.

获取源自事件的更改的索引。

Owner
已过时.

Object获取发起事件的源。

RemovedItems
已过时.

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

方法

名称 说明
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于