Bagikan melalui


GeographyPolygon.Equals Method (Object)

Determines whether this instance and the specified object 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 GeographyPolygon 
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

  • obj
    Type: System.Object
    The object to compare to this instance.

Return Value

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

See Also

Reference

GeographyPolygon Class

Equals Overload

System.Spatial Namespace