Del via


FeedRange.FromPartitionKey(PartitionKey) Method

Definition

Creates a feed range that span only a single PartitionKey value.

public static Microsoft.Azure.Cosmos.FeedRange FromPartitionKey (Microsoft.Azure.Cosmos.PartitionKey partitionKey);
static member FromPartitionKey : Microsoft.Azure.Cosmos.PartitionKey -> Microsoft.Azure.Cosmos.FeedRange
Public Shared Function FromPartitionKey (partitionKey As PartitionKey) As FeedRange

Parameters

partitionKey
PartitionKey

The partition key value to create a feed range from.

Returns

The feed range that spans the partition.

Applies to