次の方法で共有


DbSpatialServices.GetLongitude(DbGeography) メソッド

定義

指定された DbGeography 値がポイントを表す場合、その値の経度の座標を返します。

public abstract Nullable<double> GetLongitude(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetLongitude : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetLongitude (geographyValue As DbGeography) As Nullable(Of Double)

パラメーター

geographyValue
DbGeography

ポイントを表す必要のない geography 値。

戻り値

指定された DbGeography 値の経度座標。

例外

geographyValue が null です。

geographyValue は、この空間サービスの実装と互換性がありません。

適用対象