Share via


GeometryPosition.Equality Operator

Performs the equality comparison.

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

Syntax

'Declaration
Public Shared Operator = ( _
    left As GeometryPosition, _
    right As GeometryPosition _
) As Boolean
'Usage
Dim left As GeometryPosition 
Dim right As GeometryPosition 
Dim returnValue As Boolean 

returnValue = (left = right)
public static bool operator ==(
    GeometryPosition left,
    GeometryPosition right
)
public:
static bool operator ==(
    GeometryPosition^ left, 
    GeometryPosition^ right
)
static let inline(=)
        left:GeometryPosition * 
        right:GeometryPosition  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if each pair of coordinates is equal; otherwise, false.

See Also

Reference

GeometryPosition Class

System.Spatial Namespace