Constructor TextOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
TextOptions(bool, bool, Optional<PrefixOptions>, Optional<SubstringOptions>, Optional<SuffixOptions>)
Initializes a new instance of the TextOptions class.
public TextOptions(bool caseSensitive, bool diacriticSensitive, Optional<PrefixOptions> prefixOptions = default, Optional<SubstringOptions> substringOptions = default, Optional<SuffixOptions> suffixOptions = default)
Parameters
caseSensitiveboolThe indicator of whether text indexes for this field are case-sensitive.
diacriticSensitiveboolThe indicator of whether text indexes for this field are diacritic sensitive.
prefixOptionsOptional<PrefixOptions>The prefix options.
substringOptionsOptional<SubstringOptions>The substring options.
suffixOptionsOptional<SuffixOptions>The suffix options.