ArcGIS Runtime SDK for WPF - Library Reference
UsngToMapPoint Method
See Also 
ESRI.ArcGIS.Client.Geometry Namespace > CoordinateConversion Class : UsngToMapPoint Method

coordinate
A System.String representing the coordinate notation to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of the returned MapPoint.
Converts a coordinate notation string in the United States National Grid (USNG) format to a MapPoint geometry with the specified SpatialReference.

Syntax

Visual Basic (Declaration) 
Public Shared Function UsngToMapPoint( _
   ByVal coordinate As String, _
   ByVal spatialReference As SpatialReference _
) As MapPoint
C# 
public static MapPoint UsngToMapPoint( 
   string coordinate,
   SpatialReference spatialReference
)

Parameters

coordinate
A System.String representing the coordinate notation to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of the returned MapPoint.

Return Value

A MapPoint geometry representing the location defined by the coordinates.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.