Metodo SqlSpatialServices.GetLatitude
[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 latitudine 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 GetLatitude ( _
geographyValue As DbGeography _
) As Nullable(Of Double)
'Utilizzo
Dim instance As SqlSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As Nullable(Of Double)
returnValue = instance.GetLatitude(geographyValue)
public override Nullable<double> GetLatitude(
DbGeography geographyValue
)
public:
virtual Nullable<double> GetLatitude(
DbGeography^ geographyValue
) override
abstract GetLatitude :
geographyValue:DbGeography -> Nullable<float>
override GetLatitude :
geographyValue:DbGeography -> Nullable<float>
public override function GetLatitude(
geographyValue : DbGeography
) : Nullable<double>
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico che non deve rappresentare un punto.
Valore restituito
Tipo: System.Nullable<Double>
Coordinata latitudine del valore DbGeography specificato.