Table of Contents

Method SetOptions

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

SetOptions(BsonDocument)

Sets multiple cursor options. See also the individual Set{Option} methods, which are easier to use.

public virtual MongoCursor SetOptions(BsonDocument options)

Parameters

options BsonDocument

The options.

Returns

MongoCursor

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