Click or drag to resize
CreateCollectionOperationAutoIndexId Property
Gets or sets a value indicating whether an index on _id should be created automatically.

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax
public Nullable<bool> AutoIndexId { get; set; }

Property Value

Type: NullableBoolean
A value indicating whether an index on _id should be created automatically.
See Also