SqlSpatialFunctions.PointGeography Metodo

Definizione

Costruisce un'istanza geography che rappresenta un'istanza Point dai relativi valori x e y e un ID di riferimento spaziale (SRID).

public:
 static System::Data::Spatial::DbGeography ^ PointGeography(Nullable<double> latitude, Nullable<double> longitude, Nullable<int> spatialReferenceId);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOGRAPHY")]
public static System.Data.Spatial.DbGeography PointGeography(double? latitude, double? longitude, int? spatialReferenceId);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOGRAPHY")>]
static member PointGeography : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Spatial.DbGeography
Public Shared Function PointGeography (latitude As Nullable(Of Double), longitude As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeography

Parametri

latitude
Nullable<Double>

Coordinata x del punto generato.

longitude
Nullable<Double>

Coordinata y del punto generato.

spatialReferenceId
Nullable<Int32>

SRID dell'istanza geography.

Valori restituiti

Istanza geography costruita.

Attributi

Si applica a