Udostępnij przez


SqlSpatialServices.GetElevation Metoda

Definicja

Przeciążenia

GetElevation(DbGeometry)

Zwraca podniesienie (Z) podanej DbGeometry wartości, jeśli reprezentuje punkt.

GetElevation(DbGeography)

Zwraca wysokość (współrzędną Z) danej DbGeography wartości, jeśli reprezentuje punkt.

GetElevation(DbGeometry)

Zwraca podniesienie (Z) podanej DbGeometry wartości, jeśli reprezentuje punkt.

public override Nullable<double> GetElevation(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetElevation : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetElevation (geometryValue As DbGeometry) As Nullable(Of Double)

Parametry

geometryValue
DbGeometry

Wartość geometrii, która nie musi reprezentować punktu.

Zwraca

Podniesienie (Z) geometryValue, jeśli reprezentuje punkt; w przeciwnym razie wartość null.

Dotyczy

GetElevation(DbGeography)

Zwraca wysokość (współrzędną Z) danej DbGeography wartości, jeśli reprezentuje punkt.

public override Nullable<double> GetElevation(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetElevation : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetElevation (geographyValue As DbGeography) As Nullable(Of Double)

Parametry

geographyValue
DbGeography

Wartość geografii, która nie musi reprezentować punktu.

Zwraca

Wysokość (współrzędna Z) wartości geograficznejValue, jeśli reprezentuje punkt; w przeciwnym razie wartość null.

Dotyczy