Method ToDictionary NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll ToDictionary() Converts the BsonDocument to a Dictionary<string, object>. public Dictionary<string, object> ToDictionary() Returns Dictionary<string, object> A dictionary.