GeographyOperationsExtensions.Distance(Geography, Geography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.