Share via


Distance.Equals Method

Definition

Overloads

Equals(Object)

Whether an System.Object is a Distance and has exactly the same values as thisDistance.

Equals(Distance)

Whether a Distance has exactly the same values as this Distance.

Equals(Object)

Whether an System.Object is a Distance and has exactly the same values as thisDistance.

public override bool Equals (object obj);
override this.Equals : obj -> bool

Parameters

obj
System.Object

An Object to compare to this.

Returns

System.Boolean

true if obj is a Distance and has exactly the same values as thisDistance.

Applies to

Equals(Distance)

Whether a Distance has exactly the same values as this Distance.

public bool Equals (Xamarin.Forms.Maps.Distance other);
override this.Equals : Xamarin.Forms.Maps.Distance -> bool

Parameters

other
Distance

The Distance being compared to thisDistance.

Returns

System.Boolean

true if other has exactly the same value as thisDistance.

Applies to