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 命名空间