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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.