Share via


DbSpatialServices.GeographyPointFromText(String, Int32) Método

Definición

Crea un nuevo valor de punto 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 ^ GeographyPointFromText(System::String ^ pointWellKnownText, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyPointFromText (string pointWellKnownText, int coordinateSystemId);
abstract member GeographyPointFromText : string * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyPointFromText (pointWellKnownText As String, coordinateSystemId As Integer) As DbGeography

Parámetros

pointWellKnownText
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

pointWellKnownText

coordinateSystemId

Se aplica a