Table of Contents

Method ToBsonDocument

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ToBsonDocument()

Converts the read preference hedge to a BsonDocument.

public BsonDocument ToBsonDocument()

Returns

BsonDocument

A BsonDocument.