共用方式為


MongoIndex Constructors

Definition

Overloads

MongoIndex()

Initializes a new instance of the MongoIndex class.

MongoIndex(MongoIndexKeys, MongoIndexOptions)

Initializes a new instance of the MongoIndex class.

MongoIndex()

Initializes a new instance of the MongoIndex class.

public MongoIndex ();
Public Sub New ()

Applies to

MongoIndex(MongoIndexKeys, MongoIndexOptions)

Initializes a new instance of the MongoIndex class.

public MongoIndex (Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndexKeys key = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndexOptions options = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndex : Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndexKeys * Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndexOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndex
Public Sub New (Optional key As MongoIndexKeys = Nothing, Optional options As MongoIndexOptions = Nothing)

Parameters

key
MongoIndexKeys

Cosmos DB MongoDB collection index keys

options
MongoIndexOptions

Cosmos DB MongoDB collection index key options

Applies to