DbSpatialServices.AsGml Method

Definition

Generates the Geography Markup Language (GML) representation of this value.

Overloads

AsGml(DbGeography)

Generates the Geography Markup Language (GML) representation of this DbGeography value.

AsGml(DbGeometry)

Generates the Geography Markup Language (GML) representation of this DbGeometry value.

AsGml(DbGeography)

Generates the Geography Markup Language (GML) representation of this DbGeography value.

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

Parameters

geographyValue
DbGeography

The geography value for which the GML should be generated.

Returns

A string containing the GML representation of this DbGeography value.

Exceptions

geographyValue

geographyValue

Applies to

AsGml(DbGeometry)

Generates the Geography Markup Language (GML) representation of this DbGeometry value.

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

Parameters

geometryValue
DbGeometry

The geometry value for which the GML should be generated.

Returns

A string containing the GML representation of this DbGeometry value.

Exceptions

geometryValue

geometryValue

Applies to