SqlSpatialFunctions.PointGeometry Yöntem

Tanım

X ve y değerlerinden ve uzamsal başvuru kimliğinden (SRID) bir Nokta örneğini temsil eden bir geometri örneği oluşturur.

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

Parametreler

xCoordinate
Nullable<Double>

Oluşturulan Noktanın x koordinatı.

yCoordinate
Nullable<Double>

Oluşturulan Noktanın y koordinatı.

spatialReferenceId
Nullable<Int32>

Coğrafya örneğinin SRID'i.

Döndürülenler

Yapılan geometri örneği.

Öznitelikler

Şunlara uygulanır