Share via


DbSpatialServices.GeographyCollectionFromText(String, Int32) Método

Definición

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

public:
 abstract System::Data::Spatial::DbGeography ^ GeographyCollectionFromText(System::String ^ geographyCollectionWellKnownText, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyCollectionFromText (string geographyCollectionWellKnownText, int coordinateSystemId);
abstract member GeographyCollectionFromText : string * int -> System.Data.Spatial.DbGeography
Public MustOverride 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 DbGeography debe usar.

Devoluciones

Nuevo valor DbGeography tal y como lo define el valor de texto conocido con el identificador especificado del sistema de coordenadas (SRID) (DefaultCoordinateSystemId).

Excepciones

geographyCollectionWellKnownText

coordinateSystemId

Se aplica a