WorkflowOutline.GetNode(Activity) 方法

定义

检索与指定 WorkflowOutline 关联的 Activity 中的节点。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

参数

activity
Activity

与要检索的节点关联的 ActivityThe Activity associated with the node to retrieve.

返回

WorkflowOutlineNode

WorkflowOutlineNode 关联的 activityThe WorkflowOutlineNode that is associated with activity.

注解

对于用户添加到工作流设计图面中的每个活动,WorkflowOutline 都包含一个 WorkflowOutlineNodeA WorkflowOutline contains one WorkflowOutlineNode for each activity a user adds to a workflow design surface.

适用于