Udostępnij za pośrednictwem


DbSpatialServices.GetLongitude(DbGeography) Metoda

Definicja

Zwraca współrzędną długości geograficznej danej DbGeography wartości, jeśli reprezentuje punkt.

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

Parametry

geographyValue
DbGeography

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

Zwraca

Współrzędna długości geograficznej danej DbGeography wartości.

Wyjątki

geographyValue ma wartość null.

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

Dotyczy