Share via


DbGeography.PointFromText(String, Int32) Método

Definición

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

pointWellKnownText

coordinateSystemId

Se aplica a