Table of Contents

Method SetCollation

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

SetCollation(Collation)

Sets the collation.

public virtual MongoCursor<TDocument> SetCollation(Collation collation)

Parameters

collation Collation

The collation.

Returns

MongoCursor<TDocument>

The cursor (so you can chain method calls to it).