Table of Contents

Constructor CreateIndexModel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

CreateIndexModel(IndexKeysDefinition<TDocument>, CreateIndexOptions)

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

public CreateIndexModel(IndexKeysDefinition<TDocument> keys, CreateIndexOptions options = null)

Parameters

keys IndexKeysDefinition<TDocument>

The keys.

options CreateIndexOptions

The options.