Condividi tramite


PartitionKey.Equals Method

Definition

Overloads

Equals(PartitionKey)

Returns a value indicating whether this instance is equal to a specified partition key.

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(PartitionKey)

Source:
PartitionKey.cs

Returns a value indicating whether this instance is equal to a specified partition key.

public bool Equals (Microsoft.Azure.Cosmos.PartitionKey other);
override this.Equals : Microsoft.Azure.Cosmos.PartitionKey -> bool
Public Function Equals (other As PartitionKey) As Boolean

Parameters

other
PartitionKey

A partition key value to compare to this instance.

Returns

true if other has the same value as this instance; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
PartitionKey.cs

Determines whether the specified object is equal to the current object.

public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An object to compare.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to