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

Definição

Cria um novo valor de coleção DbGeography com base no valor binário conhecido e no SRID (identificador do sistema de coordenadas) 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[]

Uma matriz de bytes que contém uma representação binária conhecida do valor de geografia.

coordinateSystemId
Int32

O identificador do sistema de coordenadas que o novo valor de DbGeography deve usar.

Retornos

Um novo valor de DbGeography conforme definido pelo valor binário conhecido com o identificador do sistema de coordenadas especificado.

Exceções

geographyCollectionWellKnownBinary

coordinateSystemId

Aplica-se a