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
};

適用於