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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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