对一个空间地理位置执行相等比较。
命名空间: 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。