Freigeben über


DbSpatialServices.GeographyCollectionFromBinary(Byte[], Int32) Methode

Definition

Erstellt einen neuen DbGeography-Auflistungswert auf Grundlage des angegebenen bekannten Binärwerts und der Koordinatensystem-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

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, wie durch den bekannten binären Wert mit der angegebenen Koordinatensystem-ID (SRID) (DefaultCoordinateSystemId) definiert.

Ausnahmen

geographyCollectionWellKnownBinary

coordinateSystemId

Gilt für: