DbSpatialServices.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:
 abstract System::Data::Spatial::DbGeography ^ GeographyCollectionFromBinary(cli::array <System::Byte> ^ geographyCollectionWellKnownBinary, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyCollectionFromBinary(byte[] geographyCollectionWellKnownBinary, int coordinateSystemId);
abstract member GeographyCollectionFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyCollectionFromBinary (geographyCollectionWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

Parameters

geographyCollectionWellKnownBinary
Byte[]

Een bytematrix die een bekende binaire weergave van de geografische waarde 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 (SRID) (DefaultCoordinateSystemId).

Uitzonderingen

geographyCollectionWellKnownBinary

coordinateSystemId

Van toepassing op