Class StringOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
String options.
public sealed class StringOptions
- Inheritance
-
StringOptions
- Inherited Members
Remarks
StringOptions specifies options for a Queryable Encryption field that supports the "prefix", "prefixPreview", "substring", "substringPreview", "suffix", and "suffixPreview" query types. StringOptions only applies when the encryption algorithm is "String".
Constructors
- StringOptions(bool, bool, Optional<PrefixOptions>, Optional<SubstringOptions>, Optional<SuffixOptions>)
Initializes a new instance of the StringOptions class.
Properties
- CaseSensitive
Gets whether string indexes for this field are case-sensitive.
- DiacriticSensitive
Gets whether string indexes for this field are diacritic sensitive.
- PrefixOptions
Gets the prefix options.
- SubstringOptions
Gets the substring options.
- SuffixOptions
Gets the suffix options.