FlowDecision.False 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 that is executed when the condition evaluates to false
.
public:
property System::Activities::Statements::FlowNode ^ False { System::Activities::Statements::FlowNode ^ get(); void set(System::Activities::Statements::FlowNode ^ value); };
[System.Windows.Markup.DependsOn("True")]
public System.Activities.Statements.FlowNode False { get; set; }
[<System.Windows.Markup.DependsOn("True")>]
member this.False : System.Activities.Statements.FlowNode with get, set
Public Property False As FlowNode
Property Value
The activity that is executed when the condition evaluates to false
.
- Attributes
Examples
The following code sample demonstrates setting the False property of a FlowDecision node. This example is from the Fault Handling in a Flowchart Activity Using TryCatch sample.
FlowDecision flowDecision = new FlowDecision
{
Condition = ExpressionServices.Convert<bool>((ctx) => discount.Get(ctx) > 0),
True = discountApplied,
False = discountNotApplied
};
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.