Click or drag to resize

SearchRangeTValue Structure

Object that specifies range of scalar and DateTime values.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public struct SearchRange<TValue>
where TValue : struct, new(), IComparable<TValue>

Type Parameters

TValue
The type of the range value.

The SearchRangeTValue type exposes the following members.

Constructors
  NameDescription
Public methodSearchRangeTValue
Initializes a new instance of the SearchRangeTValue class.
Top
Properties
  NameDescription
Public propertyStatic memberEmpty
Empty range.
Public propertyIsMaxInclusive
Gets the value that indicates whether the upper bound of the range is inclusive.
Public propertyIsMinInclusive
Gets the value that indicates whether the lower bound of the range is inclusive.
Public propertyMax
Gets the lower bound of the range.
Public propertyMin
Gets the lower bound of the range.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
See Also