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