Flowchart.StartNode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the FlowNode to be executed when the flowchart starts.
public:
property System::Activities::Statements::FlowNode ^ StartNode { System::Activities::Statements::FlowNode ^ get(); void set(System::Activities::Statements::FlowNode ^ value); };
[System.Windows.Markup.DependsOn("Variables")]
public System.Activities.Statements.FlowNode StartNode { get; set; }
[<System.Windows.Markup.DependsOn("Variables")>]
member this.StartNode : System.Activities.Statements.FlowNode with get, set
Public Property StartNode As FlowNode
Property Value
The starting node.
- Attributes
Examples
The following code sample demonstrates configuring the StartNode of a Flowchart activity. This example is from the Fault Handling in a Flowchart Activity Using TryCatch sample.
Flowchart flowChart = new Flowchart
{
DisplayName = "Promotional Discount Calculation",
Variables = {discount, promo, numberOfKids},
StartNode = promoCodeSwitch,
Nodes =
{
promoCodeSwitch,
singleStep,
mnkStep,
mwkStep,
discountDefault,
flowDecision,
discountApplied,
discountNotApplied
}
};
Remarks
There must only be one StartNode.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.