Share via


GeographyOperationsExtensions.Distance(Geography, Geography) Method

Definition

Determines the distance of the geography.

public static double? Distance (this Microsoft.Spatial.Geography operand1, Microsoft.Spatial.Geography operand2);
static member Distance : Microsoft.Spatial.Geography * Microsoft.Spatial.Geography -> Nullable<double>
<Extension()>
Public Function Distance (operand1 As Geography, operand2 As Geography) As Nullable(Of Double)

Parameters

operand1
Geography

The first operand.

operand2
Geography

The second operand.

Returns

The operation result.

Applies to