在空間地理位置上執行相等比較。
命名空間: 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
參數
- other
型別:System.Spatial.GeographyPosition
另一個位置。
傳回值
型別:System.Boolean
如果每一對座標都相等,則為 true,否則為 false。