Equality Operator
Determines whether the given two geometry instances have the same value.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Shared Operator = ( _
left As Geometry, _
right As Geometry _
) As Boolean
'Usage
Dim left As Geometry
Dim right As Geometry
Dim returnValue As Boolean
returnValue = (left = right)
public static bool operator ==(
Geometry left,
Geometry right
)
public:
static bool operator ==(
Geometry^ left,
Geometry^ right
)
static let inline (=)
left:Geometry *
right:Geometry : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- left
Type: System.Spatial..::..Geometry
The first geometry instance.
- right
Type: System.Spatial..::..Geometry
The second geometry instance.
Return Value
Type: System..::..Boolean
Is true if the value of left is the same as the value of right; otherwise, is false.