Table of Contents

Method SetHidden

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

SetHidden(bool)

Sets whether the index is hidden.

public IndexOptionsBuilder<TDocument> SetHidden(bool value)

Parameters

value bool

Whether the index is hidden.

Returns

IndexOptionsBuilder<TDocument>

The builder (so method calls can be chained).