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
)
Public Sub New (
sparsity As Long,
Optional min As Optional(Of BsonValue) = Nothing,
Optional max As Optional(Of BsonValue) = Nothing,
Optional precision As Optional(Of Integer?) = Nothing
)
new :
sparsity : int64 *
?min : Optional<BsonValue> *
?max : Optional<BsonValue> *
?precision : Optional<Nullable<int>>
(* Defaults:
let _min = defaultArg min new Optional<BsonValue>()
let _max = defaultArg max new Optional<BsonValue>()
let _precision = defaultArg precision new Optional<Nullable<int>>()
*)
-> RangeOptions
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