Expression2 Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
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 IfField.Expression2 to configure expression2 as part of the if field workflow. The configured value is checked before the workflow continues.
ifField.Expression2 = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ifField.Expression2))
{
Console.WriteLine($"Expression2: {ifField.Expression2}");
}ifField.Expression2 = "Quarterly report"
If Not String.IsNullOrWhiteSpace(ifField.Expression2) Then
Console.WriteLine($"Expression2: {ifField.Expression2}")
End If