Class MongoIndex
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Cosmos DB MongoDB collection index key
public class MongoIndex
- Inheritance
-
MongoIndex
- Inherited Members
Constructors
MongoIndex()
Initializes a new instance of the MongoIndex class.
public MongoIndex()
MongoIndex(MongoIndexKeys, MongoIndexOptions)
Initializes a new instance of the MongoIndex class.
public MongoIndex(MongoIndexKeys key = null, MongoIndexOptions options = null)
Parameters
key
MongoIndexKeysCosmos DB MongoDB collection index keys
options
MongoIndexOptionsCosmos DB MongoDB collection index key options
Properties
Key
Gets or sets cosmos DB MongoDB collection index keys
public MongoIndexKeys Key { get; set; }
Property Value
Options
Gets or sets cosmos DB MongoDB collection index key options
public MongoIndexOptions Options { get; set; }