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

Definición

Crea un nuevo valor de colección 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 ^ GeographyCollectionFromBinary(cli::array <System::Byte> ^ geographyCollectionWellKnownBinary, int coordinateSystemId);
public static System.Data.Spatial.DbGeography GeographyCollectionFromBinary (byte[] geographyCollectionWellKnownBinary, int coordinateSystemId);
static member GeographyCollectionFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public Shared Function GeographyCollectionFromBinary (geographyCollectionWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

Parámetros

geographyCollectionWellKnownBinary
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

geographyCollectionWellKnownBinary

coordinateSystemId

Se aplica a