PartitionKey(Object) Constructor

Definition

Instantiate a new instance of the PartitionKey object.

public PartitionKey (object keyValue);
new Microsoft.Azure.Documents.PartitionKey : obj -> Microsoft.Azure.Documents.PartitionKey
Public Sub New (keyValue As Object)

Parameters

keyValue
Object

The value of the document property that is specified as the partition key when a collection is created.

Remarks

This class represents a partition key value that identifies the target partition of a collection in the Azure Cosmos DB service.

Applies to