Position.Equals(Object) 方法

定義

傳回布林值,指出 obj 是否為另一個 Position 結構,並代表與 this 結構完全相同的緯度與經度。

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

參數

obj
System.Object

要相比較的物件。

傳回

System.Boolean

如果 obj 是另一個 Position 結構並代表與 this 結構完全相同的緯度和經度,則為 true。 否則為 false

適用於