Rediger

Del via


FlowStep.Next Property

Definition

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

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

Property Value

The specified element.

Attributes

Examples

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