Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs equality comparison.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Shared Operator = ( _
left As GeographyPosition, _
right As GeographyPosition _
) As Boolean
'Usage
Dim left As GeographyPosition
Dim right As GeographyPosition
Dim returnValue As Boolean
returnValue = (left = right)
public static bool operator ==(
GeographyPosition left,
GeographyPosition right
)
public:
static bool operator ==(
GeographyPosition^ left,
GeographyPosition^ right
)
static let inline(=)
left:GeographyPosition *
right:GeographyPosition : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- left
Type: System.Spatial.GeographyPosition
The first position.
- right
Type: System.Spatial.GeographyPosition
The second position.
Return Value
Type: System.Boolean
true if each pair of coordinates is equal; otherwise, false.