語言

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識別碼。

傳回

由 DbGeometry 已知的二進位值定義的新值,並指定座標系識別碼(SRID)( DefaultCoordinateSystemId )。

適用於