Share via


GeographyPosition.Equals Method (GeographyPosition)

Performs equality comparison on a spatial geographic position.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public Function Equals ( _
    other As GeographyPosition _
) As Boolean
'Usage
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

Parameters

Return Value

Type: System.Boolean
true if each pair of coordinates is equal; otherwise, false.

Implements

IEquatable<T>.Equals(T)

See Also

Reference

GeographyPosition Class

Equals Overload

System.Spatial Namespace