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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public RangeOptions(
	long sparsity,
	Optional<BsonValue> min = null,
	Optional<BsonValue> max = null,
	Optional<Nullable<int>> precision = null
)

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