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

Definición

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

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

Parámetros

polygonWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

Devoluciones

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

Excepciones

polygonWellKnownBinary

coordinateSystemId

Se aplica a