SqlSpatialServices.AsGml 方法

定义

重载

AsGml(DbGeography)

生成此 DbGeography 值的 Geography Markup Language (GML) 表示。

AsGml(DbGeometry)

生成此 DbGeometry 值的 Geography Markup Language (GML) 表示。

AsGml(DbGeography)

生成此 DbGeography 值的 Geography Markup Language (GML) 表示。

public override string AsGml(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.AsGml : System.Data.Entity.Spatial.DbGeography -> string
Public Overrides Function AsGml (geographyValue As DbGeography) As String

参数

geographyValue
DbGeography

GML 应被生成的地理值。

返回

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

适用于

AsGml(DbGeometry)

生成此 DbGeometry 值的 Geography Markup Language (GML) 表示。

public override string AsGml(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.AsGml : System.Data.Entity.Spatial.DbGeometry -> string
Public Overrides Function AsGml (geometryValue As DbGeometry) As String

参数

geometryValue
DbGeometry

GML 应被生成的几何图形值。

返回

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

适用于