SqlSpatialFunctions.PointGeometry Metódus

Definíció

Egy pontpéldányt ábrázoló geometriai példányt hoz létre az x és y értékekből, valamint egy térbeli referencia-azonosítót (SRID).

public:
 static System::Data::Spatial::DbGeometry ^ PointGeometry(Nullable<double> xCoordinate, Nullable<double> yCoordinate, Nullable<int> spatialReferenceId);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOMETRY")]
public static System.Data.Spatial.DbGeometry PointGeometry(double? xCoordinate, double? yCoordinate, int? spatialReferenceId);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOMETRY")>]
static member PointGeometry : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Spatial.DbGeometry
Public Shared Function PointGeometry (xCoordinate As Nullable(Of Double), yCoordinate As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeometry

Paraméterek

xCoordinate
Nullable<Double>

A létrehozott pont x koordinátája.

yCoordinate
Nullable<Double>

A létrehozandó pont y koordinátája.

spatialReferenceId
Nullable<Int32>

A földrajzi példány SRID-értéke.

Válaszok

A létrehozott geometriapéldány.

Attribútumok

A következőre érvényes: