PartitionKeyRange Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a partition key range in the Azure Cosmos DB service.
public sealed class PartitionKeyRange : Microsoft.Azure.Documents.Resource, IEquatable<Microsoft.Azure.Documents.PartitionKeyRange>
type PartitionKeyRange = class
inherit Resource
interface IEquatable<PartitionKeyRange>
Public NotInheritable Class PartitionKeyRange
Inherits Resource
Implements IEquatable(Of PartitionKeyRange)
- Inheritance
- Implements
Constructors
PartitionKeyRange() |
Properties
AltLink |
Gets the alt-link associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
ETag |
Gets the entity tag associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
Id |
Gets or sets the Id of the resource in the Azure Cosmos DB service. (Inherited from Resource) |
Parents |
Contains ids or parent ranges in the Azure Cosmos DB 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']. |
ResourceId |
Gets or sets the Resource Id associated with the resource in the Azure Cosmos DB service. (Inherited from Resource) |
SelfLink |
Gets the self-link associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
Timestamp |
Gets the last modified timestamp associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
Methods
Equals(Object) |
Determines whether this instance in the Azure Cosmos DB service and a specified object have the same value. |
Equals(PartitionKeyRange) |
Determines whether this instance in the Azure Cosmos DB service and a specified PartitionKeyRange object have the same value. |
GetHashCode() |
Returns the hash code for this instance in the Azure Cosmos DB service. |
GetPropertyValue<T>(String) |
Gets property value associated with the specified property name from the Azure Cosmos DB service. (Inherited from Resource) |
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) |
SetPropertyValue(String, Object) |
Sets property value associated with the specified property name in the Azure Cosmos DB service. (Inherited from Resource) |
ToByteArray() |
Serialize to a byte array via SaveTo for the Azure Cosmos DB service. (Inherited from Resource) |
ToString() |
Returns the string representation of the object in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기