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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.