Click or drag to resize

BsonDocument Constructor

Overload List
  NameDescription
Public methodBsonDocument
Initializes a new instance of the BsonDocument class.
Public methodBsonDocument(Boolean)
Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
Public methodBsonDocument(BsonElement)
Initializes a new instance of the BsonDocument class and adds one element.
Public methodBsonDocument(BsonElement) Obsolete.
Initializes a new instance of the BsonDocument class and adds one or more elements.
Public methodBsonDocument(DictionaryString, Object)
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(IDictionary)
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(IEnumerableBsonElement)
Initializes a new instance of the BsonDocument class and adds new elements from a list of elements.
Public methodBsonDocument(IEnumerableKeyValuePairString, Object)
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(DictionaryString, Object, IEnumerableString) Obsolete.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(IDictionary, IEnumerable) Obsolete.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(IDictionaryString, Object, IEnumerableString) Obsolete.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
Public methodBsonDocument(String, BsonValue)
Initializes a new instance of the BsonDocument class and creates and adds a new element.
Top
See Also