次の方法で共有


DbGeometry.AsGml メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

この DbGeometry 値の Geography Markup Language (GML) 表現を生成します。

名前空間:  System.Data.Entity.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

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

戻り値

型 : System.String
この DbGeometry 値の GML 表現を含む文字列。

参照

参照

DbGeometry クラス

System.Data.Entity.Spatial 名前空間