Udostępnij za pośrednictwem


DbSpatialServices.GetLatitude(DbGeography) Metoda

Definicja

Zwraca współrzędną szerokość geograficzną danej DbGeography wartości, jeśli reprezentuje punkt.

public abstract Nullable<double> GetLatitude (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetLatitude : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetLatitude (geographyValue As DbGeography) As Nullable(Of Double)

Parametry

geographyValue
DbGeography

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

Zwraca

Współrzędna szerokość geograficzna danej DbGeography wartości.

Wyjątki

geographyValue ma wartość null.

geographyValue jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy