DbSpatialServices.GetEndPoint Method

 

Returns the endpoint of the specified value.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodGetEndPoint(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.

System_CAPS_pubmethodGetEndPoint(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.


DbSpatialServices.GetEndPoint Method (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 abstract DbGeography GetEndPoint(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value, which need not represent a curve.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

The end point of geographyValue, if it represents a curve; otherwise, null.

Exception Condition
ArgumentNullException

geographyValue is null.

ArgumentException

geographyValue is not compatible with this spatial services implementation.


DbSpatialServices.GetEndPoint Method (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 abstract DbGeometry GetEndPoint(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a curve.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

The end point of geometryValue, if it represents a curve; otherwise, null.

Exception Condition
ArgumentNullException

geometryValue is null.

ArgumentException

geometryValue is not compatible with this spatial services implementation.