你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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