WorkflowOutlineNode(Activity) 构造函数

定义

使用活动初始化 WorkflowOutlineNode 类的新实例。

public:
 WorkflowOutlineNode(System::Workflow::ComponentModel::Activity ^ activity);
public WorkflowOutlineNode (System.Workflow.ComponentModel.Activity activity);
new System.Workflow.ComponentModel.Design.WorkflowOutlineNode : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Design.WorkflowOutlineNode
Public Sub New (activity As Activity)

参数

activity
Activity

要与节点关联的 Activity

例外

activity 包含空引用(在 Visual Basic 中为 Nothing)。

适用于