共用方式為


DbSpatialServices.GetYCoordinate(DbGeometry) 方法

定義

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

public abstract Nullable<double> GetYCoordinate(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetYCoordinate : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public MustOverride Function GetYCoordinate (geometryValue As DbGeometry) As Nullable(Of Double)

參數

geometryValue
DbGeometry

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

傳回

指定的 DbGeometry 值的 Y 座標。

例外狀況

geometryValue 為 null。

geometryValue 與這個空間服務實作不相容。

適用於