Langue

SqlSpatialFunctions.PointGeography Méthode

Définition

Construit une instance géographique représentant une instance de point à partir de ses valeurs x et y et d’un ID de référence spatiale (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

Paramètres

latitude
Nullable<Double>

Coordonnée x du point généré.

longitude
Nullable<Double>

Coordonnée y du point en cours de génération.

spatialReferenceId
Nullable<Int32>

SRID de l’instance geography.

Retours

Instance geography construite.

Attributs

S’applique à