CommandDocument Constructor | 
| 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(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(DictionaryString, 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(IEnumerableBsonElement) | 
            Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.
              | |
| CommandDocument(IEnumerableKeyValuePairString, Object) | 
            Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
              | |
| 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(IDictionary, IEnumerable) |  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(String, BsonValue) | 
            Initializes a new instance of the CommandDocument class and creates and adds a new element.
              |