判斷此執行個體與另一個指定的地理執行個體是否具有相同的值。
命名空間: System.Spatial
組件: System.Spatial (在 System.Spatial.dll 中)
語法
'宣告
Public Function Equals ( _
other As GeographyPoint _
) As Boolean
'用途
Dim instance As GeographyPoint
Dim other As GeographyPoint
Dim returnValue As Boolean
returnValue = instance.Equals(other)
public bool Equals(
GeographyPoint other
)
public:
bool Equals(
GeographyPoint^ other
)
member Equals :
other:GeographyPoint -> bool
public function Equals(
other : GeographyPoint
) : boolean
參數
- other
型別:System.Spatial.GeographyPoint
要與此執行個體比較的地理。
傳回值
型別:System.Boolean
如果值參數的值與此執行個體相同則為 true,否則為 false。