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