Table of Contents

Constructor Collation

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Collation(string, Optional<bool?>, Optional<CollationCaseFirst?>, Optional<CollationStrength?>, Optional<bool?>, Optional<CollationAlternate?>, Optional<CollationMaxVariable?>, Optional<bool?>, Optional<bool?>)

Initializes a new instance of the Collation class.

public Collation(string locale, Optional<bool?> caseLevel = default, Optional<CollationCaseFirst?> caseFirst = default, Optional<CollationStrength?> strength = default, Optional<bool?> numericOrdering = default, Optional<CollationAlternate?> alternate = default, Optional<CollationMaxVariable?> maxVariable = default, Optional<bool?> normalization = default, Optional<bool?> backwards = default)

Parameters

locale string

The locale.

caseLevel Optional<bool?>

The case level.

caseFirst Optional<CollationCaseFirst?>

The case that is ordered first.

strength Optional<CollationStrength?>

The strength.

numericOrdering Optional<bool?>

Whether numbers are ordered numerically.

alternate Optional<CollationAlternate?>

The alternate.

maxVariable Optional<CollationMaxVariable?>

The maximum variable.

normalization Optional<bool?>

The normalization.

backwards Optional<bool?>

Whether secondary differences are to be considered in reverse order.