DbGeography.GeographyCollectionFromText(String, Int32) Método

Definición

Crea un nuevo valor de colección de DbGeography basándose en el valor de texto conocido y en el identificador del sistema de coordenadas (SRID) especificados.

public:
 static System::Data::Spatial::DbGeography ^ GeographyCollectionFromText(System::String ^ geographyCollectionWellKnownText, int coordinateSystemId);
public static System.Data.Spatial.DbGeography GeographyCollectionFromText (string geographyCollectionWellKnownText, int coordinateSystemId);
static member GeographyCollectionFromText : string * int -> System.Data.Spatial.DbGeography
Public Shared Function GeographyCollectionFromText (geographyCollectionWellKnownText As String, coordinateSystemId As Integer) As DbGeography

Parámetros

geographyCollectionWellKnownText
String

Cadena que contiene una representación de texto 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 de texto conocido con el identificador especificado del sistema de coordenadas.

Excepciones

geographyCollectionWellKnownText

coordinateSystemId

Se aplica a