Table of Contents

Method Create

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Create(object)

Creates a new BsonDocument by mapping an object to a BsonDocument.

public static BsonDocument Create(object value)

Parameters

value object

The object to be mapped to a BsonDocument.

Returns

BsonDocument

A BsonDocument.