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
System.Object
PartitionKeyDefinition

Constructors

PartitionKeyDefinition()

Properties

Paths

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

Methods

LoadFrom(JsonReader)

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

(Inherited from JsonSerializable)
LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader 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)
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings)

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