Click or drag to resize
IMongoIndexManagerTDocument Interface
An interface representing methods used to create, delete and modify indexes.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax
public interface IMongoIndexManager<TDocument>

Type Parameters

TDocument
The type of the document.

The IMongoIndexManagerTDocument type exposes the following members.

Methods
  NameDescription
Public methodCreateManyAsync
Creates multiple indexes.
Public methodCreateOneAsync
Creates an index.
Public methodDropAllAsync
Drops all the indexes.
Public methodDropOneAsync
Drops an index by its name.
Public methodListAsync
Lists the indexes.
Top
Properties
  NameDescription
Public propertyCollectionNamespace
Gets the namespace of the collection.
Public propertyDocumentSerializer
Gets the document serializer.
Public propertySettings
Gets the collection settings.
Top
Remarks
See Also