Share via


GeometryPolygon.Equals Method (GeometryPolygon)

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 Function Equals ( _
    other As GeometryPolygon _
) As Boolean
'Usage
Dim instance As GeometryPolygon 
Dim other As GeometryPolygon 
Dim returnValue As Boolean 

returnValue = instance.Equals(other)
public bool Equals(
    GeometryPolygon other
)
public:
bool Equals(
    GeometryPolygon^ other
)
member Equals : 
        other:GeometryPolygon -> bool
public function Equals(
    other : GeometryPolygon
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the value of the value parameter is the same as this instance; otherwise, false.

See Also

Reference

GeometryPolygon Class

Equals Overload

System.Spatial Namespace