GeographicEquals Method
The geographic equals.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GeographicEquals ( _
operand1 As Geography, _
operand2 As Geography _
) As Boolean
'Usage
Dim operand1 As Geography
Dim operand2 As Geography
Dim returnValue As Boolean
returnValue = operand1.GeographicEquals(operand2)
public static bool GeographicEquals(
this Geography operand1,
Geography operand2
)
[ExtensionAttribute]
public:
static bool GeographicEquals(
Geography^ operand1,
Geography^ operand2
)
static member GeographicEquals :
operand1:Geography *
operand2:Geography -> bool
public static function GeographicEquals(
operand1 : Geography,
operand2 : Geography
) : boolean
Parameters
- operand1
Type: System.Spatial..::..Geography
The operand 1.
- operand2
Type: System.Spatial..::..Geography
The operand 2.
Return Value
Type: System..::..Boolean
The operation result.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Geography. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).