Bagikan melalui


DbGeography.LineFromBinary(Byte[], Int32) Metode

Definisi

Membuat nilai baris baru DbGeography berdasarkan nilai biner terkenal yang ditentukan dan pengidentifikasi sistem koordinat (SRID).

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

Parameter

lineWellKnownBinary
Byte[]

Array byte yang berisi representasi biner terkenal dari nilai geografi.

coordinateSystemId
Int32

Pengidentifikasi sistem koordinat yang harus digunakan nilai DbGeography baru.

Mengembalikan

Nilai DbGeography baru sebagaimana didefinisikan oleh nilai biner terkenal dengan pengidentifikasi sistem koordinat yang ditentukan.

Pengecualian

lineWellKnownBinary

coordinateSystemId

Berlaku untuk