共用方式為


GeographyPosition.Equals 方法 (GeographyPosition)

在空間地理位置上執行相等比較。

命名空間:  System.Spatial
組件:  System.Spatial (在 System.Spatial.dll 中)

語法

'宣告
Public Function Equals ( _
    other As GeographyPosition _
) As Boolean
'用途
Dim instance As GeographyPosition
Dim other As GeographyPosition
Dim returnValue As Boolean

returnValue = instance.Equals(other)
public bool Equals(
    GeographyPosition other
)
public:
virtual bool Equals(
    GeographyPosition^ other
) sealed
abstract Equals : 
        other:GeographyPosition -> bool 
override Equals : 
        other:GeographyPosition -> bool 
public final function Equals(
    other : GeographyPosition
) : boolean

參數

傳回值

型別:System.Boolean
如果每一對座標都相等,則為 true,否則為 false。

實作

IEquatable<T>.Equals(T)

請參閱

參考

GeographyPosition 類別

Equals 多載

System.Spatial 命名空間