Click or drag to resize
SortByBuilderDescending Method
Adds keys to be sorted by in descending order.

Namespace: MongoDB.Driver.Builders
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.1.0
Syntax
public SortByBuilder Descending(
	params string[] keys
)

Parameters

keys
Type: SystemString
One or more key names.

Return Value

Type: SortByBuilder
The builder (so method calls can be chained).
See Also