Equals Method (Object)

Determines whether this instance and another specified geography instance have the same value.

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 Geography
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
Is true if the value of the value parameter is the same as this instance; otherwise, is false.

See Also

Reference

Geography Class

Equals Overload

System.Spatial Namespace