FlowStep.Next Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The next FlowNodein the flowchart to execute after executing the current FlowStep.

Namespace:   System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

[DependsOnAttribute("Action")]
public FlowNode Next { get; set; }

Property Value

Type: System.Activities.Statements.FlowNode

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

.NET Framework
Available since 4.0
Return to top
Show: