Click or drag to resize

RangeWindow Class

Represents a range window for a SetWindowFields window method.
Inheritance Hierarchy

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public sealed class RangeWindow : SetWindowFieldsWindow

The RangeWindow type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrent
Returns a "current" range window boundary.
Public propertyLowerBoundary
The lower boundary.
Public propertyStatic memberUnbounded
Returns an "unbounded" range window boundary.
Public propertyUpperBoundary
The upper boundary.
Top
Methods
  NameDescription
Public methodStatic memberCreate(KeywordRangeWindowBoundary, KeywordRangeWindowBoundary)
Creates a range window.
Public methodStatic memberCreate(KeywordRangeWindowBoundary, TimeRangeWindowBoundary)
Creates a range window.
Public methodStatic memberCreate(TimeRangeWindowBoundary, KeywordRangeWindowBoundary)
Creates a range window.
Public methodStatic memberCreate(TimeRangeWindowBoundary, TimeRangeWindowBoundary)
Creates a range window.
Public methodStatic memberCreateTValue(TValue, TValue)
Creates a range window.
Public methodStatic memberCreateTValue(KeywordRangeWindowBoundary, TValue)
Creates a range window.
Public methodStatic memberCreateTValue(TValue, KeywordRangeWindowBoundary)
Creates a range window.
Public methodStatic memberDays
Returns a time range in days.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHours
Returns a time range in hours.
Public methodStatic memberMilliseconds
Returns a time range in milliseconds.
Public methodStatic memberMinutes
Returns a time range in minutes.
Public methodStatic memberMonths
Returns a time range in months.
Public methodStatic memberQuarters
Returns a time range in quarters.
Public methodStatic memberSeconds
Returns a time range in seconds.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodStatic memberWeeks
Returns a time range in weeks.
Public methodStatic memberYears
Returns a time range in years.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also