SqlSpatialServices.AsGml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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
Parameters
- geographyValue
- DbGeography
The geography value for which the GML should be generated.
Returns
A string containing the GML representation of this DbGeography value.
Applies to
AsGml(DbGeometry)
Generates the Geography Markup Language (GML) representation of this DbGeometry value.
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
Parameters
- geometryValue
- DbGeometry
The geometry value for which the GML should be generated.
Returns
A string containing the GML representation of this DbGeometry value.