Redigera

Dela via


WorkflowOutline.GetNode(Activity) Method

Definition

Retrieves the node in the WorkflowOutline associated with the specified Activity.

protected:
 System::Workflow::ComponentModel::Design::WorkflowOutlineNode ^ GetNode(System::Workflow::ComponentModel::Activity ^ activity);
protected System.Workflow.ComponentModel.Design.WorkflowOutlineNode GetNode (System.Workflow.ComponentModel.Activity activity);
member this.GetNode : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Design.WorkflowOutlineNode
Protected Function GetNode (activity As Activity) As WorkflowOutlineNode

Parameters

activity
Activity

The Activity associated with the node to retrieve.

Returns

The WorkflowOutlineNode that is associated with activity.

Remarks

A WorkflowOutline contains one WorkflowOutlineNode for each activity a user adds to a workflow design surface.

Applies to