FlowStep.Next Property


The next FlowNode in the flowchart to execute after executing the current FlowStep.

 property System::Activities::Statements::FlowNode ^ Next { System::Activities::Statements::FlowNode ^ get(); void set(System::Activities::Statements::FlowNode ^ value); };
public System.Activities.Statements.FlowNode Next { get; set; }
member this.Next : System.Activities.Statements.FlowNode with get, set
Public Property Next As FlowNode

Property Value

The specified element.



The following code sample demonstrates using the Next property of a FlowStep node. This example is from the Fault Handling in a Flowchart Activity Using TryCatch sample.

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

Applies to