DbSpatialServices.GetXCoordinate(DbGeometry) 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 X coordinate of the given DbGeometry value, if it represents a point.
public:
abstract Nullable<double> GetXCoordinate(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract double? GetXCoordinate (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetXCoordinate : System.Data.Spatial.DbGeometry -> Nullable<double>
Public MustOverride Function GetXCoordinate (geometryValue As DbGeometry) As Nullable(Of Double)
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a point.
Returns
The X coordinate of the given DbGeometry value.
Exceptions
geometryValue
geometryValue
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.