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(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(DictionaryString, 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(IEnumerableBsonElement)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a list of elements.
Public methodIndexKeysDocument(IEnumerableKeyValuePairString, Object)
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
Public methodIndexKeysDocument(DictionaryString, Object, IEnumerableString) 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(IDictionaryString, Object, IEnumerableString) 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