Share via


DbSpatialServices.GetEndPoint Method

Definition

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 abstract System.Data.Entity.Spatial.DbGeography GetEndPoint (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetEndPoint : System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public MustOverride 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.

Exceptions

geographyValue is null.

geographyValue is not compatible with this spatial services implementation.

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 abstract System.Data.Entity.Spatial.DbGeometry GetEndPoint (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetEndPoint : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride 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.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to