Click or drag to resize

RangeOptions Constructor

Initializes a new instance of the RangeOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public RangeOptions(
	long sparsity,
	Optional<BsonValue> min = default,
	Optional<BsonValue> max = default,
	Optional<int?> precision = default
)

Parameters

sparsity
Type: SystemInt64
The sparsity.
min (Optional)
Type: MongoDB.DriverOptionalBsonValue
The min range.
max (Optional)
Type: MongoDB.DriverOptionalBsonValue
The max range.
precision (Optional)
Type: MongoDB.DriverOptionalNullableInt32
The precision range.
See Also