ActivityCollectionChangeAction 枚举

定义

警告

此 API 现已过时。

表示可以在 ActivityCollection 上执行的允许操作的枚举,该枚举通常表示 CompositeActivity 的所有子活动的集合。Represents an enumeration of the permissible actions which may be performed on an ActivityCollection, which typically represents the collection of all child activities of a CompositeActivity.

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

字段

Add 0

对应于将新的 Activity 添加到 ActivityCollection 的操作的枚举数。The enumerator corresponding to adding a new Activity to the ActivityCollection.

Remove 1

对应于从 Activity 中移除 ActivityCollection 的操作的枚举数。The enumerator corresponding to removing an Activity from the ActivityCollection.

Replace 2

对应于替换 Activity 中的 ActivityCollection 的操作的枚举数。The enumerator corresponding to replacing an Activity in the ActivityCollection.

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

适用于