SqlSpatialServices.GetYCoordinate Method (DbGeometry)

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override Nullable<double> GetYCoordinate(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a point.

Return Value

Type: System.Nullable<Double>

The Y coordinate of the given DbGeometry value.