PartitionKey.FromJsonString(String) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET