Table of Contents

Method SetCollation

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SetCollation(Collation)

Sets the collation.

public CollectionOptionsBuilder SetCollation(Collation value)

Parameters

value Collation

The collation.

Returns

CollectionOptionsBuilder

The builder (so method calls can be chained).