WorkflowOutline.CreateNewNode(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
参数
- activity
- Activity
必须为其创建新节点的活动。Activity for which a new node must be created.
返回
活动的 WorkflowOutlineNode。The WorkflowOutlineNode for the activity.
注解
用于为给定的活动创建新工作流节点的调用可能会返回 null,这表示不希望为其创建节点。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.