DbSpatialServices.GetLatitude(DbGeography) Method

Definition

Returns the Latitude coordinate of the given DbGeography value, if it represents a point.

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

Parameters

geographyValue
DbGeography

The geography value, which need not represent a point.

Returns

The Latitude coordinate of the given DbGeography value.

Exceptions

geographyValue

geographyValue

Applies to