Прочетете на английски Редактиране

Споделяне чрез


FlowStep.Next Property

Definition

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

C#
[System.Windows.Markup.DependsOn("Action")]
public System.Activities.Statements.FlowNode Next { get; set; }

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.

C#
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

Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1