Expression2 Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets and sets the second expression text that should be compared to Expression1.
Syntax
public string Expression2 { get; set; }Public Property Expression2 As StringExamples
The following example uses NextIfField.Expression2 to configure expression2 as part of the next if field workflow. The configured value is checked before the workflow continues.
nextIfField.Expression2 = "Quarterly report";
if (!string.IsNullOrWhiteSpace(nextIfField.Expression2))
{
Console.WriteLine($"Expression2: {nextIfField.Expression2}");
}nextIfField.Expression2 = "Quarterly report"
If Not String.IsNullOrWhiteSpace(nextIfField.Expression2) Then
Console.WriteLine($"Expression2: {nextIfField.Expression2}")
End If