Bagikan melalui


DbGeography.PointFromBinary(Byte[], Int32) Metode

Definisi

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

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

Parameter

pointWellKnownBinary
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

pointWellKnownBinary

coordinateSystemId

Berlaku untuk