Table of Contents

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

caseSensitive bool

The indicator of whether text indexes for this field are case-sensitive.

diacriticSensitive bool

The indicator of whether text indexes for this field are diacritic sensitive.

prefixOptions Optional<PrefixOptions>

The prefix options.

substringOptions Optional<SubstringOptions>

The substring options.

suffixOptions Optional<SuffixOptions>

The suffix options.