ActivityCollectionChangeAction 枚举

定义

注意

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

表示可以在 ActivityCollection 上执行的允许操作的枚举,该枚举通常表示 CompositeActivity 的所有子活动的集合。

C#
public enum ActivityCollectionChangeAction
C#
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum ActivityCollectionChangeAction
继承
ActivityCollectionChangeAction
属性

字段

名称 说明
Add 0

对应于将新的 Activity 添加到 ActivityCollection 的操作的枚举数。

Remove 1

对应于从 Activity 中移除 ActivityCollection 的操作的枚举数。

Replace 2

对应于替换 Activity 中的 ActivityCollection 的操作的枚举数。

注解

备注

本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型

适用于

产品 版本 (已过时)
.NET Framework 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)