Condividi tramite


Metodo SqlSpatialServices.GetLongitude

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce la coordinata longitudine del valore DbGeography specificato, se rappresenta un punto.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
Public Overrides Function GetLongitude ( _
    geographyValue As DbGeography _
) As Nullable(Of Double)
'Utilizzo
Dim instance As SqlSpatialServices 
Dim geographyValue As DbGeography 
Dim returnValue As Nullable(Of Double)

returnValue = instance.GetLongitude(geographyValue)
public override Nullable<double> GetLongitude(
    DbGeography geographyValue
)
public:
virtual Nullable<double> GetLongitude(
    DbGeography^ geographyValue
) override
abstract GetLongitude : 
        geographyValue:DbGeography -> Nullable<float> 
override GetLongitude : 
        geographyValue:DbGeography -> Nullable<float> 
public override function GetLongitude(
    geographyValue : DbGeography
) : Nullable<double>

Parametri

Valore restituito

Tipo: System.Nullable<Double>
Coordinata longitudine del valore DbGeography specificato.

Vedere anche

Riferimento

SqlSpatialServices Classe

Spazio dei nomi System.Data.Entity.SqlServer