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