Creates new between range filter.

Namespace:  Endeca.Data
Assembly:  Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public static RangeFilter CreateBetweenRangeFilter(
	string attributeName,
	double bound1,
	double bound2
)
Visual Basic (Declaration)
Public Shared Function CreateBetweenRangeFilter ( _
	attributeName As String, _
	bound1 As Double, _
	bound2 As Double _
) As RangeFilter
Visual C++
public:
static RangeFilter^ CreateBetweenRangeFilter(
	String^ attributeName, 
	double bound1, 
	double bound2
)

Parameters

attributeName
Type: System..::.String
The attribute (i.e. property or dimension) that this filter acts upon.
bound1
Type: System..::.Double
The lower bound (inclusive) for this filter.
bound2
Type: System..::.Double
The upper bound (inclusive) for this filter.

Remarks

This filter will include records for which the value of the (integer or floating-point valued) record attribute identified by the attributeName parameter is within the bounds specified by the bound1 and bound2 parameters.

Exceptions

ExceptionCondition
System..::.ArgumentException if attributeName is null or empty, or if bound1 is greater than or equal to bound2.

See Also