共用方式為


DbSpatialServices.GeographyPointFromBinary(Byte[], Int32) 方法

定義

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

public:
 abstract System::Data::Spatial::DbGeography ^ GeographyPointFromBinary(cli::array <System::Byte> ^ pointWellKnownBinary, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyPointFromBinary (byte[] pointWellKnownBinary, int coordinateSystemId);
abstract member GeographyPointFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyPointFromBinary (pointWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

參數

pointWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

新的 DbGeography 值,由含有指定的座標系統識別項 (SRID) (DefaultCoordinateSystemId) 的已知二進位值所定義。

例外狀況

pointWellKnownBinary

coordinateSystemId

適用於