DbSpatialServices.GeographyCollectionFromText(String, Int32) Método

Definición

Crea un nuevo DbGeography valor de colección basado en el valor de texto conocido especificado y el identificador del sistema de coordenadas (SRID).

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 geography.

coordinateSystemId
Int32

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

Devoluciones

Nuevo DbGeography valor definido por el valor de texto conocido con el identificador del sistema de coordenadas (SRID) especificado (DefaultCoordinateSystemId).

Excepciones

geographyCollectionWellKnownText

coordinateSystemId

Se aplica a