Bagikan melalui


DbGeography.GeographyCollectionFromBinary(Byte[], Int32) Metode

Definisi

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

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

Parameter

geographyCollectionWellKnownBinary
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

geographyCollectionWellKnownBinary

coordinateSystemId

Berlaku untuk