Compartilhar via


DbGeography.PointFromText(String, Int32) Método

Definição

Cria um novo valor de ponto DbGeography com base no valor do texto conhecido e no identificador do 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

Uma cadeia de caracteres que contém uma representação de texto conhecida do valor de geografia.

coordinateSystemId
Int32

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

Retornos

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

Exceções

pointWellKnownText

coordinateSystemId

Aplica-se a