SqlSpatialServices.GetEndPoint 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.
Overloads
GetEndPoint(DbGeography) |
Returns a DbGeography value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. |
GetEndPoint(DbGeometry) |
Returns a DbGeometry value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. |
GetEndPoint(DbGeography)
Returns a DbGeography value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve.
public override System.Data.Entity.Spatial.DbGeography GetEndPoint (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetEndPoint : System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GetEndPoint (geographyValue As DbGeography) As DbGeography
Parameters
- geographyValue
- DbGeography
The geography value, which need not represent a curve.
Returns
The end point of geographyValue, if it represents a curve; otherwise null.
Applies to
GetEndPoint(DbGeometry)
Returns a DbGeometry value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve.
public override System.Data.Entity.Spatial.DbGeometry GetEndPoint (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetEndPoint : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function GetEndPoint (geometryValue As DbGeometry) As DbGeometry
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a curve.
Returns
The end point of geometryValue, if it represents a curve; otherwise null.
Applies to
Entity Framework