Table of Contents

Class CreateIndexModel<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Model for creating an index.

public sealed class CreateIndexModel<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
CreateIndexModel<TDocument>
Inherited Members

Constructors

CreateIndexModel(IndexKeysDefinition<TDocument>, CreateIndexOptions)

Initializes a new instance of the CreateIndexModel<TDocument> class.

Properties

Keys

Gets the keys.

Options

Gets the options.