TX Text Control .NET Server

LogicalOperator Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataShaping
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Gets or sets the logical operator by which to logically connect a filter instruction to the previous one if a filter consists of a collection of multiple filter instructions. Possible values are listed in the description of the constructor of this class.

Syntax

public LogicalOperator LogicalOperator { get; set; }

Members

ValueDescription
AndThe filter instructions are and-connected.
OrThe filter instructions are or-connected.

Examples

The following example uses FilterInstruction.LogicalOperator to configure logical operator as part of the filter instruction workflow. The configured value is checked before the workflow continues.

filterInstruction.LogicalOperator = TXTextControl.DocumentServer.DataShaping.LogicalOperator.And;
Console.WriteLine($"Logical Operator used by Filter Instruction: {filterInstruction.LogicalOperator}");