다음을 통해 공유


PartitionKey Struct

Definition

Represents a partition key value in the Azure Cosmos DB service.

public struct PartitionKey
type PartitionKey = struct
Public Structure PartitionKey
Inheritance
PartitionKey

Constructors

PartitionKey(Boolean)

Creates a new partition key value.

PartitionKey(Double)

Creates a new partition key value.

PartitionKey(String)

Creates a new partition key value.

Fields

None

The returned object represents a partition key value that allows creating and accessing items without a value for partition key.

Null

The returned object represents a partition key value that allows creating and accessing items with a null value for the partition key.

SystemKeyName

The tag name to use in the documents for specifying a partition key value when inserting such documents into a migrated collection

SystemKeyPath

The partition key path in the collection definition for migrated collections

Methods

ToString()

Gets the string representation of the partition key value.

Applies to