Condividi tramite


Metodo DbGeometry.AsGml

[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 DbGeometry.

Spazio dei nomi:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml")> _
Public Function AsGml As String
'Utilizzo
Dim instance As DbGeometry 
Dim returnValue As String 

returnValue = instance.AsGml()
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")]
public string AsGml()
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Gml")]
public:
String^ AsGml()
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")>]
member AsGml : unit -> string
public function AsGml() : String

Valore restituito

Tipo: System.String
Stringa che contiene la rappresentazione GML di questo valore DbGeometry.

Vedere anche

Riferimento

DbGeometry Classe

Spazio dei nomi System.Data.Entity.Spatial