SqlSpatialFunctions.PointGeometry 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造一个表示从其的 x 和 y 的值及空间引用 ID (SRID) 中的点实例的几何图形实例。
[System.Data.Entity.DbFunction("SqlServer", "POINTGEOMETRY")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="xCoordinate")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="yCoordinate")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="y")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="spatialReferenceId")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="x")]
public static System.Data.Entity.Spatial.DbGeometry PointGeometry (Nullable<double> xCoordinate, Nullable<double> yCoordinate, Nullable<int> spatialReferenceId);
static member PointGeometry : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Entity.Spatial.DbGeometry
Public Shared Function PointGeometry (xCoordinate As Nullable(Of Double), yCoordinate As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeometry
参数
返回
构造的几何图形实例。
- 属性