PartitionKeyDefinition Class

Definition

Specifies a partition key definition for a particular path in the Azure Cosmos DB service.

public sealed class PartitionKeyDefinition : Microsoft.Azure.Documents.JsonSerializable
type PartitionKeyDefinition = class
    inherit JsonSerializable
Public NotInheritable Class PartitionKeyDefinition
Inherits JsonSerializable
Inheritance
PartitionKeyDefinition

Constructors

PartitionKeyDefinition()

Properties

Paths

Gets or sets the paths to be partitioned in the Azure Cosmos DB service.

Version

Gets or sets version of the partitioning scheme to be applied on the partition key

Methods

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
ToString()

Returns the string representation of the object in the Azure Cosmos DB service.

(Inherited from JsonSerializable)

Applies to