DbSpatialServices.GetLongitude(DbGeography) Metod

Definition

Returnerar longitudkoordinaten för det angivna DbGeography värdet, om den representerar en punkt.

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

Parametrar

geographyValue
DbGeography

Geografivärdet, som inte behöver representera en punkt.

Returer

Longitudkoordinaten för det angivna DbGeography värdet.

Undantag

geographyValue

geographyValue

Gäller för