PartitionKey.Equality(PartitionKey, PartitionKey) Operator

Definition

Determines whether two specified instances of the PartitionKey are equal.

public static bool operator == (Microsoft.Azure.Cosmos.PartitionKey left, Microsoft.Azure.Cosmos.PartitionKey right);
static member ( = ) : Microsoft.Azure.Cosmos.PartitionKey * Microsoft.Azure.Cosmos.PartitionKey -> bool
Public Shared Operator == (left As PartitionKey, right As PartitionKey) As Boolean

Parameters

left
PartitionKey

The first object to compare.

right
PartitionKey

The second object to compare.

Returns

true if left and right represent the same partition key; otherwise, false.

Applies to