Click or drag to resize

ClusteredIndexOptionsTDocumentKey Property

Gets or sets the index key, which must currently be {_id: 1}.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public IndexKeysDefinition<TDocument> Key { get; set; }

Property Value

Type: IndexKeysDefinitionTDocument
See Also