語言

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 值的經度座標。

適用於