PartitionKey Class
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 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
-
PartitionKey
Partition |
Instantiate a new instance of the PartitionKey object. |
System |
The tag name to use in the documents for specifying a partition key value when inserting such documents into a migrated collection |
System |
The partition key path in the collection definition for migrated collections |
None |
Instantiates a new instance of the PartitionKey object. |
Equals(Object) |
Overrides the Equal operator for object comparisons between two instances of PartitionKey. |
From |
Instantiate a new instance of the PartitionKey object. |
Get |
Hash function to return the hash code for the object. |
To |
Override the base ToString method to output the value of each key component, separated by a space. |
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: