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

coordinates
A IEnumerable of System.String representing the coordinate notations to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of each MapPoint in the returned collection.
Converts a collection of coordinate notation strings in the United States National Grid (USNG) format to a collection of MapPoint geometries each with the same specified spatial reference.

Syntax

Visual Basic (Declaration) 
Public Shared Function UsngToMapPoints( _
   ByVal coordinates As IEnumerable(Of String), _
   ByVal spatialReference As SpatialReference _
) As IList(Of MapPoint)
C# 
public static IList<MapPoint> UsngToMapPoints( 
   IEnumerable<string> coordinates,
   SpatialReference spatialReference
)

Parameters

coordinates
A IEnumerable of System.String representing the coordinate notations to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of each MapPoint in the returned collection.

Return Value

An IList of MapPoint representing the locations defined by the input coordinate notations.

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.