PartitionKey Class

Definition

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

public sealed class PartitionKey
type PartitionKey = class
Public NotInheritable Class PartitionKey
Inheritance
System.Object
PartitionKey

Constructors

PartitionKey(Object)

Instantiate a new instance of the PartitionKey object.

Methods

Equals(Object)

Overrides the Equal operator for object comparisons between two instances of PartitionKey.

FromJsonString(String)

Instantiate a new instance of the PartitionKey object.

GetHashCode()

Hash function to return the hash code for the object.

ToString()

Override the base ToString method to output the value of each key component, separated by a space.

Applies to