DbSpatialServices.GetYCoordinate(DbGeometry) Method

Definition

Returns the Y coordinate of the given DbGeometry value, if it represents a point.

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

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a point.

Returns

The Y coordinate of the given DbGeometry value.

Exceptions

geometryValue

geometryValue

Applies to