Share via


Equals Method (Geometry)

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

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

Syntax

'Declaration
Public Function Equals ( _
    other As Geometry _
) As Boolean
'Usage
Dim instance As Geometry
Dim other As Geometry
Dim returnValue As Boolean

returnValue = instance.Equals(other)
public bool Equals(
    Geometry other
)
public:
bool Equals(
    Geometry^ other
)
member Equals : 
        other:Geometry -> bool 
public function Equals(
    other : Geometry
) : 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

Geometry Class

Equals Overload

System.Spatial Namespace