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
参数
返回
与 WorkflowOutlineNode 关联的 activity。The WorkflowOutlineNode that is associated with activity.
注解
对于用户添加到工作流设计图面中的每个活动,WorkflowOutline 都包含一个 WorkflowOutlineNode。A WorkflowOutline contains one WorkflowOutlineNode for each activity a user adds to a workflow design surface.