ComparisonOperators Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines the comparison operator that is used to compare the condition's form field value with the specified comparison value or the interpretation of that value. The enumeration contains the following values:
Syntax
public enum Condition.ComparisonOperatorsPublic Enum Condition.ComparisonOperatorsMembers
| Member | Value | Description |
|---|---|---|
| Is | 1 | Form field value equals to the specified comparison value or the interpretation of that value. |
| IsNot | 2 | Form field value does not equal to the specified comparison value or the interpretation of that value. |
| Contains | 3 | Form field value contains the specified comparison value. |
| StartsWith | 4 | Form field value starts with the specified comparison value. |
| EndsWith | 5 | Form field value ends with the specified comparison value. |
| DoesNotContain | 6 | Form field value does not contain the specified comparison value. |
| DoesNotStartWith | 7 | Form field value does not start with the specified comparison value. |
| DoesNotEndWith | 8 | Form field value does not end with the specified comparison value. |
| IsGreaterThan | 9 | Form field value is greater than the specified comparison value. |
| IsGreaterThanOrEqual | 10 | Form field value is greater than or equals to the specified comparison value. |
| IsLessThan | 11 | Form field value is less than the specified comparison value. |
| IsLessThanOrEqual | 12 | Form field value is less than or equals to the specified comparison value. |
Examples
The following example selects the Is value from the Comparison Operators enumeration and uses it as a documented workflow choice.
Condition.ComparisonOperators value = Condition.ComparisonOperators.Is;
Console.WriteLine($"Using Comparison Operators: {value}");Dim value As Condition.ComparisonOperators = Condition.ComparisonOperators.Is
Console.WriteLine($"Using Comparison Operators: {value}")