Metodo DbSpatialServices.AsTextIncludingElevationAndMeasure (DbGeography)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Restituisce una rappresentazione testuale di DbSpatialServices con elevazione e misura.
Spazio dei nomi: System.Data.Entity.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Overridable Function AsTextIncludingElevationAndMeasure ( _
geographyValue As DbGeography _
) As String
'Utilizzo
Dim instance As DbSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As String
returnValue = instance.AsTextIncludingElevationAndMeasure(geographyValue)
public virtual string AsTextIncludingElevationAndMeasure(
DbGeography geographyValue
)
public:
virtual String^ AsTextIncludingElevationAndMeasure(
DbGeography^ geographyValue
)
abstract AsTextIncludingElevationAndMeasure :
geographyValue:DbGeography -> string
override AsTextIncludingElevationAndMeasure :
geographyValue:DbGeography -> string
public function AsTextIncludingElevationAndMeasure(
geographyValue : DbGeography
) : String
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico.
Valore restituito
Tipo: System.String
Rappresentazione testuale di DbSpatialServices.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | geographyValue è null. |
ArgumentException | geographyValue non è compatibile con l'implementazione spaziale dei servizi. |