Class RangeOptions
- Namespace
 - MongoDB.Driver.Encryption
 
- Assembly
 - MongoDB.Driver.Encryption.dll
 
Range options.
public sealed class RangeOptions
  - Inheritance
 - 
      
      RangeOptions
 
- Inherited Members
 
Remarks
The Range algorithm is experimental only. It is not intended for public use. RangeOpts specifies index options for a Queryable Encryption field supporting "range" queries. min, max, sparsity, and range must match the values set in the encryptedFields of the destination collection. For double and decimal128, min/max/precision must all be set, or all be unset. RangeOptions only applies when algorithm is "range".
Constructors
- RangeOptions(Optional<BsonValue>, Optional<BsonValue>, Optional<int?>, Optional<long?>, Optional<int?>)
 Initializes a new instance of the RangeOptions class.
Properties
- Max
 Maximum value.
- Min
 Minimum value.
- Precision
 Gets the precision.
- Sparsity
 Gets the sparsity.
- TrimFactor
 Gets the trim factor.