Bagikan melalui


DbSpatialServices.GeographyPointFromBinary(Byte[], Int32) Metode

Definisi

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

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

Parameter

pointWellKnownBinary
Byte[]

Array byte yang berisi representasi biner terkenal dari nilai geografi.

coordinateSystemId
Int32

Pengidentifikasi sistem koordinat yang harus digunakan nilai baru DbGeography .

Mengembalikan

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

Pengecualian

pointWellKnownBinary

coordinateSystemId

Berlaku untuk