Click or drag to resize
IndexKeysDocument Constructor
Overload List
  NameDescription
Public methodIndexKeysDocument()
Initializes a new instance of the IndexKeysDocument class.
Public methodIndexKeysDocument(Boolean)
Initializes a new instance of the IndexKeysDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
Public methodIndexKeysDocument(Dictionary<String, Object>)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(IEnumerable<KeyValuePair<String, Object>>)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(IDictionary)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(BsonElement)
Initializes a new instance of the IndexKeysDocument class and adds one element.
Public methodIndexKeysDocument(BsonElement[]) Obsolete.
Initializes a new instance of the IndexKeysDocument class and adds one or more elements.
Public methodIndexKeysDocument(IEnumerable<BsonElement>)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a list of elements.
Public methodIndexKeysDocument(Dictionary<String, Object>, IEnumerable<String>) Obsolete.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(IDictionary<String, Object>, IEnumerable<String>) Obsolete.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(IDictionary, IEnumerable) Obsolete.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(String, BsonValue)
Initializes a new instance of the IndexKeysDocument class and creates and adds a new element.
Top
See Also