Gets or sets the relational operator used as the comparison operator. See the description of the constructor of this class for possible values.
public DocumentServer.DataShaping.RelationalOperator ComparisonOperator { get; set; }
Public Property ComparisonOperator() As DocumentServer.DataShaping.RelationalOperator
Member | Description |
---|---|
Equals | The expression values must be equal. |
Not |
The expression values must be not equal. |
Less |
Expression 1 is less than expression 2. |
Greater |
Expression 1 is greater than expression 2. |
Greater |
Expression 1 is greater than or equal to expression 2. |
Less |
Expression 1 is less than or equal to expression 2. |
Is |
The expression must be null or empty. |
Is |
The expression must not be null or empty. |
The following example shows the Filter
TXTextControl.DocumentServer.DataShaping.FilterInstruction instruction = new TXTextControl.DocumentServer.DataShaping.FilterInstruction();
instruction.ColumnName = "-----";
instruction.ComparisonOperator = TXTextControl.DocumentServer.DataShaping.RelationalOperator.Equals;
Dim instruction As TXTextControl.DocumentServer.DataShaping.FilterInstruction = New TXTextControl.DocumentServer.DataShaping.FilterInstruction()
instruction.ColumnName = "-----"
instruction.ComparisonOperator = TXTextControl.DocumentServer.DataShaping.RelationalOperator.Equals