GEOREFTryParse Method

Attempts to parse a string into an GEOREF coordinate.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static bool TryParse(
	string value,
	out GEOREF geo
)

Parameters

value  String
string
geo  GEOREF
GEOREF

Return Value

Boolean
WebMercator

Example

The following example attempts to parse a GEOREF coordinate.
C#
GEOREF geo;
if(!GEOREF.TryParse("SAFB60125012", out wmc))
{
    Console.WriteLine(geo);//8284118.2mE 6339892.6mN
}

See Also