Table of Contents

Method ToDictionary

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToDictionary()

Converts the BsonDocument to a Dictionary<string, object>.

public Dictionary<string, object> ToDictionary()

Returns

Dictionary<string, object>

A dictionary.