CoordinatePartParse(String, CoordinateType) Method
Parses a string into a CoordinatePart with specified part type (latitude/longitude).
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static CoordinatePart Parse(
string value,
CoordinateType cType
)
- value String
- CoordinatePart string
- cType CoordinateType
- CoordinateType
CoordinatePartCoordinatePart
The following example demonstrates how to parse a latitude from a string.
Latitude is specified so that the parser knows to attempt parse in latitude.
CoordinatePart cp = CoordinatePart.Parse("-32.891º", CoordinateType.Long);