Table of Contents

Struct SearchRange<TValue>

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Object that specifies range of scalar and DateTime values.

public struct SearchRange<TValue> where TValue : struct, IComparable<TValue>

Type Parameters

TValue

The type of the range value.

Inherited Members
Extension Methods

Constructors

SearchRange(TValue?, TValue?, bool, bool)

Initializes a new instance of the SearchRange<TValue> class.

Properties

Empty

Empty range.

IsMaxInclusive

Gets the value that indicates whether the upper bound of the range is inclusive.

IsMinInclusive

Gets the value that indicates whether the lower bound of the range is inclusive.

Max

Gets the lower bound of the range.

Min

Gets the lower bound of the range.