Click or drag to resize

SortByDocument Constructor

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