Sprache

DbGeography.GeographyCollectionFromBinary(Byte[], Int32) Methode

Definition

Erstellt einen neuen DbGeography Sammlungswert basierend auf dem angegebenen bekannten Binärwert und koordinatensystembezeichner (SRID).

public static System.Data.Entity.Spatial.DbGeography GeographyCollectionFromBinary(byte[] geographyCollectionWellKnownBinary, int coordinateSystemId);
static member GeographyCollectionFromBinary : byte[] * int -> System.Data.Entity.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, der durch den bekannten Binärwert mit dem angegebenen Koordinatensystembezeichner definiert wird.

Gilt für: