次の方法で共有


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>

地理インスタンスの SRID。

戻り値

構築された地理インスタンス。

属性

適用対象