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

定義

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

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

參數

pointWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

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

例外狀況

pointWellKnownBinary

coordinateSystemId

適用於