Bagikan melalui


PartitionKey.FromJsonString(String) Method

Definition

Instantiate a new instance of the PartitionKey object.

public static Microsoft.Azure.Documents.PartitionKey FromJsonString (string keyValue);
static member FromJsonString : string -> Microsoft.Azure.Documents.PartitionKey
Public Shared Function FromJsonString (keyValue As String) As PartitionKey

Parameters

keyValue
String

The value of the document property that is specified as the partition key when a collection is created, in serialized JSON form.

Returns

Remarks

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

Applies to