DbGeometry.PointFromText(String, Int32) Método
Definição
Cria um novo valor de ponto DbGeometry com base no valor do texto conhecido e no identificador do sistema de coordenadas (SRID) especificados.Creates a new DbGeometry point value based on the specified well known text value and coordinate system identifier (SRID).
public:
static System::Data::Spatial::DbGeometry ^ PointFromText(System::String ^ pointWellKnownText, int coordinateSystemId);
public static System.Data.Spatial.DbGeometry PointFromText (string pointWellKnownText, int coordinateSystemId);
static member PointFromText : string * int -> System.Data.Spatial.DbGeometry
Public Shared Function PointFromText (pointWellKnownText As String, coordinateSystemId As Integer) As DbGeometry
Parâmetros
- pointWellKnownText
- String
Uma cadeia de caracteres que contém uma representação de texto conhecida do valor de geometria.A string that contains a well known text representation of the geometry value.
- coordinateSystemId
- Int32
O identificador do sistema de coordenadas que o novo valor de DbGeometry deve usar.The identifier of the coordinate system that the new DbGeometry value should use.
Retornos
Um novo valor de DbGeometry, conforme definido pelo valor de texto conhecido com o identificador do sistema de coordenadas especificado.A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier.
Exceções
pointWellKnownText
coordinateSystemId