Share via


Position.Equals Method

Definition

Overloads

Equals(Position)

Determines if this Position is equal to the other in the Azure Cosmos DB service.

Equals(Object)

Determines whether the specified Position is equal to the current Position in the Azure Cosmos DB service.

Equals(Position)

Source:
Position.cs

Determines if this Position is equal to the other in the Azure Cosmos DB service.

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

Parameters

other
Position

Position to compare to this Position.

Returns

true if objects are equal. false otherwise.

Implements

Applies to

Equals(Object)

Source:
Position.cs

Determines whether the specified Position is equal to the current Position in the Azure Cosmos DB service.

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

Parameters

obj
Object

The Position to compare to the current object.

Returns

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

Applies to