CompareTo Property
- Namespace
TXTextControl.DocumentServer. DataShaping
- 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 or sets the value the table column content is compared to using the specified comparison operator. If this value can be parsed to a numerical value, a numerical comparison is used internally when possible (i. e. when the table column contains numerical values, too). Otherwise the column content and this value are interpreted as / converted to strings.
Syntax
public object CompareTo { get; set; }Public Property CompareTo As ObjectExamples
The following example uses FilterInstruction.CompareTo to configure compare to as part of the filter instruction workflow. The configured value is checked before the workflow continues.
filterInstruction.CompareTo = "Approved";
if (filterInstruction.CompareTo != null)
{
Console.WriteLine("Filter Instruction: Compare To is available.");
}filterInstruction.CompareTo = "Approved"
If filterInstruction.CompareTo IsNot Nothing Then
Console.WriteLine("Filter Instruction: Compare To is available.")
End If