Freigeben über


DbGeometry.AsGml-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Generiert die Darstellung dieses DbGeometry-Werts in der GML (Geography Markup Language).

Namespace:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml")> _
Public Function AsGml As String
'Usage
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

Rückgabewert

Typ: System.String
Eine Zeichenfolge, die die GML-Darstellung dieses DbGeometry-Werts enthält.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace