DbGeography.PointFromText(String, Int32) Método

Definição

Cria um novo DbGeography valor de ponto com base no valor de texto bem conhecido especificado e no identificador do sistema de coordenadas (SRID).

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

Uma cadeia que contém uma representação textual bem conhecida do valor geográfico.

coordinateSystemId
Int32

O identificador do sistema de coordenadas que o novo valor DbGeography deve usar.

Devoluções

Um novo valor DbGeography conforme definido pelo conhecido valor do texto com o identificador especificado do sistema de coordenadas.

Exceções

pointWellKnownText

coordinateSystemId

Aplica-se a