Language

DbGeography.Distance(DbGeography) メソッド

定義

この DbGeography 値内の最も近いポイントと別の DbGeography 値との間の距離を計算します。

public Nullable<double> Distance(System.Data.Entity.Spatial.DbGeography other);
member this.Distance : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Function Distance (other As DbGeography) As Nullable(Of Double)

パラメーター

other
DbGeography

この値からの距離を計算する必要がある geography 値。

戻り値

この geography 値内の 2 つの最も近いポイントと他のポイント間の距離を指定する double 値。

適用対象