ArcGIS API for Silverlight - Library Reference
LengthsAsync(IList<Graphic>) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > LengthsAsync Method : LengthsAsync(IList<Graphic>) Method

graphics
The graphics used to calculate lengths.
Calculates the lengths of each specified polyline. Raises the LengthsCompleted event on success, or the TaskBase.Failed event on failure.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LengthsAsync( _
   ByVal graphics As IList(Of Graphic) _
) 
C# 
public void LengthsAsync( 
   IList<Graphic> graphics
)

Parameters

graphics
The graphics used to calculate lengths.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.