DbGeography.GeographyCollectionFromBinary(Byte[], Int32) Methode

Definitie

Hiermee maakt u een nieuwe DbGeography verzamelingswaarde op basis van de opgegeven bekende binaire waarde en coördinaatsysteem-id (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

Parameters

geographyCollectionWellKnownBinary
Byte[]

Een bytematrix die een bekende binaire weergave van de geografiewaarde bevat.

coordinateSystemId
Int32

De id van het coördinatensysteem dat de nieuwe DbGeography-waarde moet gebruiken.

Retouren

Een nieuwe DbGeography-waarde zoals gedefinieerd door de bekende binaire waarde met de opgegeven coördinaatsysteem-id.

Uitzonderingen

geographyCollectionWellKnownBinary

coordinateSystemId

Van toepassing op