Position.Equals(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回布林值,指出 obj
是否為另一個 Position 結構,並代表與 this
結構完全相同的緯度與經度。
public override bool Equals (object obj);
override this.Equals : obj -> bool
參數
-
obj
-
System.Object
要相比較的物件。
傳回
System.Boolean
如果 obj
是另一個 Position 結構並代表與 this
結構完全相同的緯度和經度,則為 true
。 否則為 false
。
適用於