DbSpatialServices.GetLatitude(DbGeography) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the Latitude coordinate of the given DbGeography value, if it represents a point.
public abstract Nullable<double> GetLatitude (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetLatitude : System.Data.Entity.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
is null.
geographyValue
is not compatible with this spatial services implementation.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for