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(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(DictionaryString, 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(IEnumerableBsonElement)
Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.
Public methodCommandDocument(IEnumerableKeyValuePairString, Object)
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCommandDocument(DictionaryString, Object, IEnumerableString) 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(IDictionaryString, Object, IEnumerableString) 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