DbSpatialServices.GetLongitude(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 Longitude coordinate of the given DbGeography value, if it represents a point.
public:
abstract Nullable<double> GetLongitude(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract double? GetLongitude (System.Data.Spatial.DbGeography geographyValue);
abstract member GetLongitude : System.Data.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetLongitude (geographyValue As DbGeography) As Nullable(Of Double)
Parameters
- geographyValue
- DbGeography
The geography value, which need not represent a point.
Returns
The Longitude coordinate of the given DbGeography value.
Exceptions
geographyValue
geographyValue
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.