Constructor creating a filter.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)

Syntax

C#
public RangeFilter(
	string filter
)
Visual Basic
Public Sub New ( _
	filter As String _
)
Visual C++
public:
RangeFilter(
	String^ filter
)

Parameters

filter
Type: System..::..String
Range filter statement.

Remarks

A filter consists of a numeric property ( float or int ), and a filter statement that consists of operators LT, LTEQ, GT, GTEQ, or BTWN followed by one or two constants. BTWN is treated as a bounded range, as it is treated inclusive. Examples:
CopyC#
"Price|LT 10.88"
"create_date|BTWN 20020131 20020214"
"modified|GTEQ 2002"
Range filter statement format:
CopyC#
<b>'<property name>|<filter statement>'</b>
CopyC#
<filter statement> = '[<unbounded range>|<bounded range>]'
<unbounded range> = '[LT|LTEQ|GT|GTEQ] <constant>'
<bounded range> = 'BTWN <constant> <constant>'
<property name> = name of a numerical record property.
<constant> = numerical constant that defines the range bounds.

See Also