Initializes a Geocode instance from a string. Assumes the string is of the format: "{0},{1}" . For example, "20.52,39.20"

Namespace:  Endeca.Data
Assembly:  Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public static Geocode Parse(
	string value
)
Visual Basic (Declaration)
Public Shared Function Parse ( _
	value As String _
) As Geocode
Visual C++
public:
static Geocode^ Parse(
	String^ value
)

Parameters

value
Type: System..::.String
String with two numbers separated by a comma

Return Value

The initializes Geocode instance

Exceptions

ExceptionCondition
System..::.ArgumentExceptionif value is null or empty.
System..::.FormatException If value is not a valid representation of a Geocode.

See Also