Click or drag to resize
SortByDescending 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.4.1
Syntax
public static 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