Table of Contents

Method Descending

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

Descending(params string[])

Sets one or more key names to index in descending order.

public IndexKeysBuilder Descending(params string[] names)

Parameters

names string[]

One or more key names.

Returns

IndexKeysBuilder

The builder (so method calls can be chained).