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