Condividi tramite


DbSpatialServices.GeographyPolygonFromBinary(Byte[], Int32) Metodo

Definizione

Crea un nuovo valore di poligono DbGeography basato sul valore binario noto e sull'identificatore del sistema di coordinate (SRID) specificati.

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

Parametri

polygonWellKnownBinary
Byte[]

Matrice di byte che contiene una rappresentazione binaria nota del valore di posizione geografica.

coordinateSystemId
Int32

L'identificatore del sistema di coordinate che il nuovo valore DbGeography deve utilizzare.

Restituisce

Nuovo valore DbGeography definito dal valore binario noto con l'identificatore del sistema di coordinate (SRID) specificato (DefaultCoordinateSystemId).

Eccezioni

polygonWellKnownBinary

coordinateSystemId

Si applica a