Method | Description | |
---|---|---|
QueryDocument ( ) : System |
Initializes a new instance of the QueryDocument class.
|
|
QueryDocument ( BsonElement element ) : System |
Initializes a new instance of the QueryDocument class and adds one element.
|
|
QueryDocument ( object>.Dictionary |
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
|
|
QueryDocument ( IDictionary dictionary ) : System |
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
|
|
QueryDocument ( IEnumerable |
Initializes a new instance of the QueryDocument class and adds new elements from a list of elements.
|
|
QueryDocument ( object>.IEnumerable |
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
|
|
QueryDocument ( bool allowDuplicateNames ) : System |
Initializes a new instance of the QueryDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
|
|
QueryDocument ( string name, BsonValue value ) : System |
Initializes a new instance of the QueryDocument class and creates and adds a new element.
|
Method | Description | |
---|---|---|
QueryDocument ( object>.Dictionary |
||
QueryDocument ( IDictionary dictionary, IEnumerable keys ) : System | ||
QueryDocument ( object>.IDictionary |
public QueryDocument ( BsonElement element ) : System | ||
element | BsonElement | An element to add to the document. |
return | System |
public QueryDocument ( object>.Dictionary |
||
dictionary | object>.Dictionary | A dictionary to initialize the document from. |
return | System |
public QueryDocument ( IDictionary dictionary ) : System | ||
dictionary | IDictionary | A dictionary to initialize the document from. |
return | System |
public QueryDocument ( IEnumerable |
||
elements | IEnumerable |
A list of elements to add to the document. |
return | System |
public QueryDocument ( object>.IEnumerable |
||
dictionary | object>.IEnumerable | A dictionary to initialize the document from. |
return | System |
public QueryDocument ( bool allowDuplicateNames ) : System | ||
allowDuplicateNames | bool | Whether duplicate element names are allowed. |
return | System |
public QueryDocument ( string name, BsonValue value ) : System | ||
name | string | The name of the element to add to the document. |
value | BsonValue | The value of the element to add to the document. |
return | System |