Table of Contents

Constructor RangeOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

RangeOptions(Optional<BsonValue>, Optional<BsonValue>, Optional<int?>, Optional<long?>, Optional<int?>)

Initializes a new instance of the RangeOptions class.

public RangeOptions(Optional<BsonValue> min = default, Optional<BsonValue> max = default, Optional<int?> precision = default, Optional<long?> sparsity = default, Optional<int?> trimFactor = default)

Parameters

min Optional<BsonValue>

The min range.

max Optional<BsonValue>

The max range.

precision Optional<int?>

The precision range.

sparsity Optional<long?>

The sparsity.

trimFactor Optional<int?>

The trim factor.