Click or drag to resize

CollectionOptionsDocument Constructor

Overload List
  NameDescription
Public methodCollectionOptionsDocument
Initializes a new instance of the CollectionOptionsDocument class.
Public methodCollectionOptionsDocument(Boolean)
Initializes a new instance of the CollectionOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
Public methodCollectionOptionsDocument(DictionaryString, Object)
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(IEnumerableKeyValuePairString, Object)
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(IDictionary)
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(BsonElement)
Initializes a new instance of the CollectionOptionsDocument class and adds one element.
Public methodCollectionOptionsDocument(BsonElement) Obsolete.
Initializes a new instance of the CollectionOptionsDocument class and adds one or more elements.
Public methodCollectionOptionsDocument(IEnumerableBsonElement)
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a list of elements.
Public methodCollectionOptionsDocument(DictionaryString, Object, IEnumerableString) Obsolete.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(IDictionaryString, Object, IEnumerableString) Obsolete.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(IDictionary, IEnumerable) Obsolete.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
Public methodCollectionOptionsDocument(String, BsonValue)
Initializes a new instance of the CollectionOptionsDocument class and creates and adds a new element.
Top
See Also