語言

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

定義

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

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

參數

pointWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

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

適用於