共用方式為


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

定義

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

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

參數

geometryCollectionWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

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

適用於