Modifier

Partager via


WorkflowOutline.CreateNewNode(Activity) Method

Definition

Creates a new node for an Activity.

protected:
 virtual System::Workflow::ComponentModel::Design::WorkflowOutlineNode ^ CreateNewNode(System::Workflow::ComponentModel::Activity ^ activity);
protected virtual System.Workflow.ComponentModel.Design.WorkflowOutlineNode CreateNewNode (System.Workflow.ComponentModel.Activity activity);
abstract member CreateNewNode : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Design.WorkflowOutlineNode
override this.CreateNewNode : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Design.WorkflowOutlineNode
Protected Overridable Function CreateNewNode (activity As Activity) As WorkflowOutlineNode

Parameters

activity
Activity

Activity for which a new node must be created.

Returns

The WorkflowOutlineNode for the activity.

Remarks

Calls to create a new workflow node for a given activity could return null, which indicates that you do not want to create a node for it.

Applies to