ConditionalInstruction Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the ConditionalInstruction class.
Syntax
ConditionalInstruction()
Initializes a new instance of the ConditionalInstruction class without any of the required values.
public ConditionalInstruction();Public Sub New()ConditionalInstruction(string, Condition[], Instruction[])
Initializes a new instance of the ConditionalInstruction class with all values that are necessary to provide a valid conditional instruction.
public ConditionalInstruction(string name, Condition[] conditions, Instruction[] instructions);Public Sub New(name As String, conditions As Condition(), instructions As Instruction())| Parameter | Description |
|---|---|
| name | Specifies the name of the conditional instruction. If the value is null or an empty string, a |
| conditions | Specifies the conditions of the conditional instruction. If the value is null, an empty array of conditions or at least one of the array elements is null, a |
| instructions | Specifies the instructions of the conditional instruction. If the value is null, an empty array of instructions, at least one of the array elements is null or the array contains an |
Examples
The following example creates a Conditional Instruction instance and configures its are else instructions handled setting for a document workflow.
ConditionalInstruction conditionalInstruction = new();
conditionalInstruction.AreElseInstructionsHandled = true;Dim conditionalInstruction As New ConditionalInstruction()
conditionalInstruction.AreElseInstructionsHandled = True