FlowStep.Next 属性

定义

执行当前 FlowStep 后流程图中要执行的下一个 FlowNode

public:
 property System::Activities::Statements::FlowNode ^ Next { System::Activities::Statements::FlowNode ^ get(); void set(System::Activities::Statements::FlowNode ^ value); };
[System.Windows.Markup.DependsOn("Action")]
public System.Activities.Statements.FlowNode Next { get; set; }
[<System.Windows.Markup.DependsOn("Action")>]
member this.Next : System.Activities.Statements.FlowNode with get, set
Public Property Next As FlowNode

属性值

指定的元素。

属性

示例

下面的代码示例演示如何使用 FlowStep 节点的 Next 属性。 此示例摘自 使用 TryCatch 的流程图活动中的错误处理 示例。

FlowStep singleStep = new FlowStep
{
    Action = new Assign
    {
        DisplayName = "discount = 10.0",
        To = new OutArgument<double> (discount),
        Value = new InArgument<double> (10.0)
    },
    Next = flowDecision
};

适用于