GeographyOperationsExtensions.Distance(Geography, 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)

参数

operand1
Geography

第一个操作数。

operand2
Geography

第二个操作数。

返回

操作结果。

适用于