Metodo SqlSpatialServices.AsGml (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.]
Genera la rappresentazione GML (Geography Markup Language) di questo valore DbGeography.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function AsGml ( _
geographyValue As DbGeography _
) As String
'Utilizzo
Dim instance As SqlSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As String
returnValue = instance.AsGml(geographyValue)
public override string AsGml(
DbGeography geographyValue
)
public:
virtual String^ AsGml(
DbGeography^ geographyValue
) override
abstract AsGml :
geographyValue:DbGeography -> string
override AsGml :
geographyValue:DbGeography -> string
public override function AsGml(
geographyValue : DbGeography
) : String
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico per cui è necessario generare la rappresentazione GML.
Valore restituito
Tipo: System.String
Stringa che contiene la rappresentazione GML di questo valore DbGeography.