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

定義

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

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

參數

polygonWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

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

例外狀況

polygonWellKnownBinary

coordinateSystemId

適用於