Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GeoCoordinate.ToString Method ()

.NET Framework (current version)
 

Returns a string that contains the latitude and longitude.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public override string ToString()

Return Value

Type: System.String

A string that contains the latitude and longitude, separated by a comma.

The string representation returned by this method is intended only for debugging use. This method does not return any locale-specific formatting for latitude and longitude.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft