PartitionKeyRange Class

Definition

Represents a partition key range in the Azure DocumentDB database service.

public sealed class PartitionKeyRange : Microsoft.Azure.Documents.Resource, IEquatable<Microsoft.Azure.Documents.PartitionKeyRange>
Inheritance
Implements

Inherited Members

Microsoft.Azure.Documents.JsonSerializable

Microsoft.Azure.Documents.Resource

Constructors

PartitionKeyRange()

Properties

Parents

Contains ids or parent ranges in the Azure DocumentDB database service. For example if range with id '1' splits into '2' and '3', then Parents for ranges '2' and '3' will be ['1']. If range '3' splits into '4' and '5', then parents for ranges '4' and '5' will be ['1', '3'].

Methods

Equals(PartitionKeyRange)

Determines whether this instance in the Azure DocumentDB database service and a specified PartitionKeyRange object have the same value.

Equals(Object)

Determines whether this instance in the Azure DocumentDB database service and a specified object have the same value.

GetHashCode()

Returns the hash code for this instance in the Azure DocumentDB database service.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)