語言

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

定義

根據指定的眾所周知的二進位值與座標系統識別碼(SRID)建立新的 DbGeography 集合值。

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

參數

geographyCollectionWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

一個新的 DbGeography 值,由已知的二進位值定義,並附上指定的座標系統識別碼。

適用於