Flowchart.Nodes 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 collection of FlowNode objects contained by the flowchart.
public:
property System::Collections::ObjectModel::Collection<System::Activities::Statements::FlowNode ^> ^ Nodes { System::Collections::ObjectModel::Collection<System::Activities::Statements::FlowNode ^> ^ get(); };
[System.Windows.Markup.DependsOn("StartNode")]
public System.Collections.ObjectModel.Collection<System.Activities.Statements.FlowNode> Nodes { get; }
[<System.Windows.Markup.DependsOn("StartNode")>]
member this.Nodes : System.Collections.ObjectModel.Collection<System.Activities.Statements.FlowNode>
Public ReadOnly Property Nodes As Collection(Of FlowNode)
Property Value
A collection of FlowNode objects.
- Attributes
Examples
The following code sample demonstrates creating 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
}
};
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.