共用方式為


SqlSpatialServices.GeometryPolygonFromBinary(Byte[], Int32) 方法

定義

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 多邊形值。

public override System.Data.Entity.Spatial.DbGeometry GeometryPolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId);
override this.GeometryPolygonFromBinary : byte[] * int -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function GeometryPolygonFromBinary (polygonWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeometry

參數

polygonWellKnownBinary
Byte[]

包含幾何值的已知二進位表示的位元組陣列。

coordinateSystemId
Int32

新的 DbGeometry 值應該使用的座標系統的識別項。

傳回

以指定的座標系統識別碼 (SRID) ( ) DefaultCoordinateSystemId 所定義的已知二進位值所定義的新 DbGeometry 值。

適用於