Sdílet prostřednictvím


DbGeography.GeographyCollectionFromBinary(Byte[], Int32) Metoda

Definice

Vytvoří novou DbGeography hodnotu kolekce na základě zadané dobře známé binární hodnoty a identifikátoru souřadnicového systému (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

Parametry

geographyCollectionWellKnownBinary
Byte[]

Bajtové pole, které obsahuje dobře známou binární reprezentaci zeměpisné hodnoty.

coordinateSystemId
Int32

Identifikátor souřadnicového systému, který by měla použít nová hodnota DbGeography.

Návraty

Nová hodnota DbGeography definovaná dobře známou binární hodnotou se zadaným identifikátorem souřadnicového systému.

Výjimky

geographyCollectionWellKnownBinary

coordinateSystemId

Platí pro