StreamLink.NET
CreateLogicalFilterExpression Method (oper)
StreamLink.NETCaplin.StreamLinkIParametersFactoryCreateLogicalFilterExpression(LogicalFilterExpressionOperator)
Creates a new logical filter expression that filters the records in the container, based on the logical combination of two or more IFieldFilterExpressions.

The container is filtered by the Caplin Refiner module at Caplin Transformer (see How to use Container Filtering and Sorting).

Declaration Syntax
C#Visual BasicVisual C++
ILogicalFilterExpression CreateLogicalFilterExpression(
	LogicalFilterExpressionOperator oper
)
Function CreateLogicalFilterExpression ( _
	oper As LogicalFilterExpressionOperator _
) As ILogicalFilterExpression
ILogicalFilterExpression^ CreateLogicalFilterExpression(
	LogicalFilterExpressionOperator oper
)
Parameters
oper (LogicalFilterExpressionOperator)
The operator in the logical filter expression.
Return Value
A new ILogicialFilterExpression.
Remarks

After creating an ILogicalFilterExpression, you must add at least two IFieldFilterExpression to it by calling AddExpression(IFilterExpression).

Assume you have two IFieldExpressions, specifying the field filters "(bid > 5)" and "(ask < 6)" respectively, and you created the ILogicalFilterExpression with the AND operator. After you have added the two IFIeldFilterExpressions, the resulting ILogicalFilterExpression represents the filter "(bid > 5) AND (ask < 6)."

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.22.0 (5.0.22.0)