Share via


GeographyPosition.Equals Method (Object)

Performs equality comparison on an object.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As GeographyPosition 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool  
override Equals : 
        obj:Object -> bool
public override function Equals(
    obj : Object
) : boolean

Parameters

Return Value

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

See Also

Reference

GeographyPosition Class

Equals Overload

System.Spatial Namespace