共用方式為


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

定義

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

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

參數

geographyCollectionWellKnownBinary
Byte[]

包含地理位置值的已知二進位表示的位元組陣列。

coordinateSystemId
Int32

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

傳回

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

適用於