Language

SqlSpatialFunctions.PointGeography メソッド

定義

x と y の値と空間参照 ID (SRID) から Point インスタンスを表す geography インスタンスを構築します。

[System.Data.Entity.DbFunction("SqlServer", "POINTGEOGRAPHY")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="latitude")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="spatialReferenceId")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="longitude")]
public static System.Data.Entity.Spatial.DbGeography PointGeography(Nullable<double> latitude, Nullable<double> longitude, Nullable<int> spatialReferenceId);
static member PointGeography : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Entity.Spatial.DbGeography
Public Shared Function PointGeography (latitude As Nullable(Of Double), longitude As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeography

パラメーター

latitude
Nullable<Double>

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

longitude
Nullable<Double>

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

spatialReferenceId
Nullable<Int32>

geography インスタンスの SRID。

戻り値

構築された geography インスタンス。

属性

適用対象