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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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