DbSpatialServices.GeographyPolygonFromBinary(Byte[], Int32) Methode

Definition

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

public:
 abstract System::Data::Spatial::DbGeography ^ GeographyPolygonFromBinary(cli::array <System::Byte> ^ polygonWellKnownBinary, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyPolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId);
abstract member GeographyPolygonFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyPolygonFromBinary (polygonWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

Parameter

polygonWellKnownBinary
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

polygonWellKnownBinary

coordinateSystemId

Gilt für: