語言

DbSpatialServices.AsGml 方法

定義

產生此值的地理標記語言(GML)表示。

多載

名稱 Description
AsGml(DbGeography)

產生此 DbGeography 值的地理標記語言(GML)表示。

AsGml(DbGeometry)

產生此 DbGeometry 值的地理標記語言(GML)表示。

AsGml(DbGeography)

產生此 DbGeography 值的地理標記語言(GML)表示。

public:
 abstract System::String ^ AsGml(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract string AsGml(System.Data.Spatial.DbGeography geographyValue);
abstract member AsGml : System.Data.Spatial.DbGeography -> string
Public MustOverride Function AsGml (geographyValue As DbGeography) As String

參數

geographyValue
DbGeography

GML應產生的地理值。

傳回

包含此 DbGeography 值的 GML 表示的字串。

例外狀況

geographyValue

geographyValue

適用於

AsGml(DbGeometry)

產生此 DbGeometry 值的地理標記語言(GML)表示。

public:
 abstract System::String ^ AsGml(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract string AsGml(System.Data.Spatial.DbGeometry geometryValue);
abstract member AsGml : System.Data.Spatial.DbGeometry -> string
Public MustOverride Function AsGml (geometryValue As DbGeometry) As String

參數

geometryValue
DbGeometry

應該產生 GML 的幾何值。

傳回

包含此 DbGeometry 值的 GML 表示的字串。

例外狀況

geometryValue

geometryValue

適用於