Share via


DbSpatialServices.GetStartPoint Method

Definition

Overloads

GetStartPoint(DbGeography)

Returns a DbGeography value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve.

GetStartPoint(DbGeometry)

Returns a DbGeometry value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve.

GetStartPoint(DbGeography)

Returns a DbGeography value that represents the start 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 GetStartPoint (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetStartPoint : System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GetStartPoint (geographyValue As DbGeography) As DbGeography

Parameters

geographyValue
DbGeography

The geography value, which need not represent a curve.

Returns

The start point of the given DbGeography value.

Exceptions

geographyValue is null.

geographyValue is not compatible with this spatial services implementation.

Applies to

GetStartPoint(DbGeometry)

Returns a DbGeometry value that represents the start 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 GetStartPoint (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetStartPoint : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GetStartPoint (geometryValue As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a curve.

Returns

The start point of the given DbGeometry value.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to