DbSpatialServices.AsGml Method (DbGeometry)

.NET Framework (current version)
 

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

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

public abstract string AsGml(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value for which the GML should be generated.

Return Value

Type: System.String

A string containing the GML representation of this DbGeometry value.

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show: