Share via


DbGeography.PolygonFromBinary(Byte[], Int32) Método

Definición

Crea un nuevo valor de polígono de DbGeography basándose en el valor binario conocido y en el identificador del sistema de coordenadas (SRID) especificados.

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

Parámetros

polygonWellKnownBinary
Byte[]

Matriz de bytes que contiene una representación binaria conocida del valor de geografía.

coordinateSystemId
Int32

Identificador del sistema de coordenadas que el nuevo valor de DbGeography debe usar.

Devoluciones

Nuevo valor de DbGeography tal y como lo define el valor binario conocido con el identificador especificado del sistema de coordenadas.

Excepciones

polygonWellKnownBinary

coordinateSystemId

Se aplica a