Click or drag to resize

CreateIndexModel<TDocument> Constructor

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public CreateIndexModel(
	IndexKeysDefinition<TDocument> keys,
	CreateIndexOptions options = null
)

Parameters

keys
Type: MongoDB.Driver.IndexKeysDefinition<TDocument>
The keys.
options (Optional)
Type: MongoDB.Driver.CreateIndexOptions
The options.
See Also