Click or drag to resize

CreateIndexModel<TDocument> Constructor

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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