Distance.Equals 方法

定義

多載

Equals(Object)

是否 Object 為 ,且 具有與 完全相同的值 thisDistanceDistance

Equals(Distance)

的值是否 Distance 與 完全相同 this Distance

Equals(Object)

是否 Object 為 ,且 具有與 完全相同的值 thisDistanceDistance

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

參數

obj
Object

要與 比較 this 的物件。

傳回

true如果 obj 是 ,且 具有與 完全相同的值 thisDistanceDistance

適用於

Equals(Distance)

的值是否 Distance 與 完全相同 this Distance

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

參數

other
Distance

Distance 相比較的 thisDistance

傳回

true如果 other 的值與 完全相同,則為 thisDistance

適用於