语言

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 值的经度坐标。

适用于