Click or drag to resize

CommandDocument Constructor

Overload List
  NameDescription
Public methodCommandDocument()
Initializes a new instance of the CommandDocument class.
Public methodCommandDocument(Boolean)
Initializes a new instance of the CommandDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
Public methodCommandDocument(Dictionary<String, Object>)
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(IEnumerable<KeyValuePair<String, Object>>)
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(IDictionary)
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(BsonElement)
Initializes a new instance of the CommandDocument class and adds one element.
Public methodCommandDocument(BsonElement[]) Obsolete.
Initializes a new instance of the CommandDocument class and adds one or more elements.
Public methodCommandDocument(IEnumerable<BsonElement>)
Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.
Public methodCommandDocument(Dictionary<String, Object>, IEnumerable<String>) Obsolete.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(IDictionary<String, Object>, IEnumerable<String>) Obsolete.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(IDictionary, IEnumerable) Obsolete.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(String, BsonValue)
Initializes a new instance of the CommandDocument class and creates and adds a new element.
Top
See Also