共用方式為


SqlSpatialServices.GetYCoordinate(DbGeometry) 方法

定義

傳回指定的 DbGeometry 值的 Y 座標,如果它代表一個點。

public override Nullable<double> GetYCoordinate(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetYCoordinate : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetYCoordinate (geometryValue As DbGeometry) As Nullable(Of Double)

參數

geometryValue
DbGeometry

幾何值,其不需要表現點。

傳回

指定的 DbGeometry 值的 Y 座標。

適用於