語言

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

定義

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

public abstract System.Data.Entity.Spatial.DbGeography GeographyLineFromBinary(byte[] lineWellKnownBinary, int coordinateSystemId);
abstract member GeographyLineFromBinary : byte[] * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyLineFromBinary (lineWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

參數

lineWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

傳回

由 DbGeography 已知的二進位值定義的新值,並指定座標系識別碼(SRID)( DefaultCoordinateSystemId )。

適用於