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

定義

根據指定的已知二進位值與座標系統識別碼(SRID)建立新的 DbGeography 多邊形值。

public:
 static System::Data::Spatial::DbGeography ^ PolygonFromBinary(cli::array <System::Byte> ^ polygonWellKnownBinary, int coordinateSystemId);
public static System.Data.Spatial.DbGeography PolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId);
static member PolygonFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public Shared Function PolygonFromBinary (polygonWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

參數

polygonWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

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

例外狀況

polygonWellKnownBinary

coordinateSystemId

適用於