Table of Contents

Property Key

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Key

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

public IndexKeysDefinition<TDocument> Key { get; set; }

Property Value

IndexKeysDefinition<TDocument>