SqlSpatialFunctions.PointGeography 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造一个表示从其的 x 和 y 的值及空间引用 ID (SRID) 中的点实例的地理实例。
[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
参数
返回
构造的地理实例。
- 属性