Share via


DbGeography.GeographyCollectionFromBinary(Byte[], Int32) Methode

Definition

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

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 definiert.

Ausnahmen

geographyCollectionWellKnownBinary

coordinateSystemId

Gilt für: