編輯

共用方式為


ActivityCollectionChangeAction Enum

Definition

Caution

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

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
public enum ActivityCollectionChangeAction
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum ActivityCollectionChangeAction
type ActivityCollectionChangeAction = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCollectionChangeAction = 
Public Enum ActivityCollectionChangeAction
Inheritance
ActivityCollectionChangeAction
Attributes

Fields

Name Value Description
Add 0

The enumerator corresponding to adding a new Activity to the ActivityCollection.

Remove 1

The enumerator corresponding to removing an Activity from the ActivityCollection.

Replace 2

The enumerator corresponding to replacing an Activity in the ActivityCollection.

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Applies to