SqlSpatialServices.GetElevation Method

 

Returns the elevation (Z coordinate) of the given value, if it represents a point.

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

NameDescription
System_CAPS_pubmethodGetElevation(DbGeography)

Returns the elevation (Z coordinate) of the given DbGeography value, if it represents a point.(Overrides DbSpatialServices.GetElevation(DbGeography).)

System_CAPS_pubmethodGetElevation(DbGeometry)

Returns the elevation (Z) of the given DbGeometry value, if it represents a point.(Overrides DbSpatialServices.GetElevation(DbGeometry).)


SqlSpatialServices.GetElevation Method (DbGeography)

Returns the elevation (Z coordinate) of the given DbGeography value, if it represents a point.

public override Nullable<double> GetElevation(
	DbGeography geographyValue
)

Parameters

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

The geography value, which need not represent a point.

Return Value

Type: System.Nullable<Double>

The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise, null.


SqlSpatialServices.GetElevation Method (DbGeometry)

Returns the elevation (Z) of the given DbGeometry value, if it represents a point.

public override Nullable<double> GetElevation(
	DbGeometry geometryValue
)

Parameters

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

The geometry value, which need not represent a point.

Return Value

Type: System.Nullable<Double>

The elevation (Z) of geometryValue, if it represents a point; otherwise, null.