Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public RangeOptions(
long sparsity,
Optional<BsonValue> min = null,
Optional<BsonValue> max = null,
Optional<Nullable<int>> precision = null
)
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 Nullable(Of Integer)) = Nothing
)
new :
sparsity : int64 *
?min : Optional<BsonValue> *
?max : Optional<BsonValue> *
?precision : Optional<Nullable<int>>
(* Defaults:
let _min = defaultArg min null
let _max = defaultArg max null
let _precision = defaultArg precision null
*)
-> 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