共用方式為


SqlSpatialServices.GetLongitude(DbGeography) 方法

定義

傳回指定的 DbGeography 值的經度座標,如果它代表一個點。

public override Nullable<double> GetLongitude(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetLongitude : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetLongitude (geographyValue As DbGeography) As Nullable(Of Double)

參數

geographyValue
DbGeography

地理位置值,其不需要表現點。

傳回

指定 DbGeography 值的經度座標。

適用於