Table of Contents

Method Descending

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

Descending(params Expression<Func<TDocument, object>>[])

Adds keys to be sorted by in descending order.

public static SortByBuilder<TDocument> Descending(params Expression<Func<TDocument, object>>[] memberExpressions)

Parameters

memberExpressions Expression<Func<TDocument, object>>[]

The member expressions.

Returns

SortByBuilder<TDocument>

The builder (so method calls can be chained).