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