SqlSpatialServices.GetXCoordinate(DbGeometry) 方法

定义

如果其表示点,则返回给定 DbGeometry 值的 X 坐标。

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

参数

geometryValue
DbGeometry

不需要表示点的几何图形值。

返回

给定的 DbGeometry 值的 X 坐标。

适用于