Метод | Описание | |
---|---|---|
FieldsDocument ( ) : System |
Initializes a new instance of the FieldsDocument class.
|
|
FieldsDocument ( BsonElement element ) : System |
Initializes a new instance of the FieldsDocument class and adds one element.
|
|
FieldsDocument ( object>.Dictionary |
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
|
|
FieldsDocument ( IDictionary dictionary ) : System |
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
|
|
FieldsDocument ( IEnumerable |
Initializes a new instance of the FieldsDocument class and adds new elements from a list of elements.
|
|
FieldsDocument ( object>.IEnumerable |
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
|
|
FieldsDocument ( bool allowDuplicateNames ) : System |
Initializes a new instance of the FieldsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
|
|
FieldsDocument ( string name, BsonValue value ) : System |
Initializes a new instance of the FieldsDocument class and creates and adds a new element.
|
Метод | Описание | |
---|---|---|
FieldsDocument ( object>.Dictionary |
||
FieldsDocument ( IDictionary dictionary, IEnumerable keys ) : System | ||
FieldsDocument ( object>.IDictionary |
public FieldsDocument ( BsonElement element ) : System | ||
element | BsonElement | An element to add to the document. |
Результат | System |
public FieldsDocument ( object>.Dictionary |
||
dictionary | object>.Dictionary | A dictionary to initialize the document from. |
Результат | System |
public FieldsDocument ( IDictionary dictionary ) : System | ||
dictionary | IDictionary | A dictionary to initialize the document from. |
Результат | System |
public FieldsDocument ( IEnumerable |
||
elements | IEnumerable |
A list of elements to add to the document. |
Результат | System |
public FieldsDocument ( object>.IEnumerable |
||
dictionary | object>.IEnumerable | A dictionary to initialize the document from. |
Результат | System |
public FieldsDocument ( bool allowDuplicateNames ) : System | ||
allowDuplicateNames | bool | Whether duplicate element names are allowed. |
Результат | System |
public FieldsDocument ( 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. |
Результат | System |