DbGeography.AsText Method ()

.NET Framework (current version)
 

Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points.

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

public string AsText()

Return Value

Type: System.String

A string containing the well known text representation of this DbGeography value.

.NET Framework
Available since 4.5
Return to top
Show: