DbSpatialServices.GeographyCollectionFromBinary(Byte[], Int32) Methode

Definition

Erstellt einen neuen DbGeography Sammlungswert basierend auf dem angegebenen bekannten Binärwert und koordinatensystembezeichner (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

Parameter

geographyCollectionWellKnownBinary
Byte[]

Ein Bytearray, das eine bekannte binäre Darstellung des Geografiewerts enthält.

coordinateSystemId
Int32

Der Bezeichner des Koordinatensystems, das der neue DbGeography Wert verwenden soll.

Gibt zurück

Ein neuer DbGeography Wert, der durch den bekannten Binärwert definiert ist, mit dem angegebenen Koordinatensystembezeichner (SRID) (DefaultCoordinateSystemId).

Ausnahmen

geographyCollectionWellKnownBinary

coordinateSystemId

Gilt für: