共用方式為


SqlSpatialServices.GetLatitude(DbGeography) 方法

定義

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

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

參數

geographyValue
DbGeography

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

傳回

指定 DbGeography 值的緯度座標。

適用於