次の方法で共有


SpatialOperations.Distance メソッド (Geography, Geography)

地理的距離を示します。

名前空間:  System.Spatial
アセンブリ:  System.Spatial (System.Spatial.dll)

構文

'宣言
Public Overridable Function Distance ( _
    operand1 As Geography, _
    operand2 As Geography _
) As Double
'使用
Dim instance As SpatialOperations
Dim operand1 As Geography
Dim operand2 As Geography
Dim returnValue As Double

returnValue = instance.Distance(operand1, _
    operand2)
public virtual double Distance(
    Geography operand1,
    Geography operand2
)
public:
virtual double Distance(
    Geography^ operand1, 
    Geography^ operand2
)
abstract Distance : 
        operand1:Geography * 
        operand2:Geography -> float 
override Distance : 
        operand1:Geography * 
        operand2:Geography -> float 
public function Distance(
    operand1 : Geography, 
    operand2 : Geography
) : double

パラメーター

戻り値

型: System.Double
操作の結果。

関連項目

参照

SpatialOperations クラス

Distance オーバーロード

System.Spatial 名前空間