DbSpatialServices.AsText Método
Definição
Obtém a representação de texto bem conhecida do valor fornecido.Gets the well-known text representation of the given value.
Sobrecargas
| AsText(DbGeography) |
Obtém a representação de texto bem conhecida do valor DbGeography fornecido.Gets the well-known text representation of the given DbGeography value. Esse valor deve incluir somente a Longitude e Latitude dos pontos.This value should include only the Longitude and Latitude of points. |
| AsText(DbGeometry) |
Obtém a representação de texto conhecida do valor DbGeometry fornecido, incluindo apenas coordenadas X e Y para pontos.Gets the well-known text representation of the given DbGeometry value, including only X and Y coordinates for points. |
AsText(DbGeography)
Obtém a representação de texto bem conhecida do valor DbGeography fornecido.Gets the well-known text representation of the given DbGeography value. Esse valor deve incluir somente a Longitude e Latitude dos pontos.This value should include only the Longitude and Latitude of points.
public:
abstract System::String ^ AsText(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract string AsText (System.Data.Spatial.DbGeography geographyValue);
abstract member AsText : System.Data.Spatial.DbGeography -> string
Public MustOverride Function AsText (geographyValue As DbGeography) As String
Parâmetros
- geographyValue
- DbGeography
O valor de geografia para o qual o texto conhecido deve ser gerado.The geography value for which the well-known text should be generated.
Retornos
Uma cadeia de caracteres que contém a representação de texto conhecida de geographyValue.A string containing the well-known text representation of geographyValue.
Exceções
geographyValue
geographyValue
Aplica-se a
AsText(DbGeometry)
Obtém a representação de texto conhecida do valor DbGeometry fornecido, incluindo apenas coordenadas X e Y para pontos.Gets the well-known text representation of the given DbGeometry value, including only X and Y coordinates for points.
public:
abstract System::String ^ AsText(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract string AsText (System.Data.Spatial.DbGeometry geometryValue);
abstract member AsText : System.Data.Spatial.DbGeometry -> string
Public MustOverride Function AsText (geometryValue As DbGeometry) As String
Parâmetros
- geometryValue
- DbGeometry
O valor de geometria para o qual o texto conhecido deve ser gerado.The geometry value for which the well-known text should be generated.
Retornos
Uma cadeia de caracteres que contém a representação de texto conhecida de geometryValue.A string containing the well-known text representation of geometryValue.
Exceções
geometryValue
geometryValue