次の方法で共有


SqlSpatialFunctions.PointGeometry メソッド

定義

x 値と y 値および空間参照 ID (SRID) から、Point インスタンスを表す geometry インスタンスを構築します。

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

パラメーター

xCoordinate
Nullable<Double>

生成された点の x 座標。

yCoordinate
Nullable<Double>

生成されるポイントの y 座標。

spatialReferenceId
Nullable<Int32>

地理インスタンスの SRID。

戻り値

構築されたジオメトリ インスタンス。

属性

適用対象