ESRI.ArcGIS.ADF.ArcGISServer
ComputeDistanceAsync(String,Point,Point,esriUnits,Object) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > MapServerProxy Class > ComputeDistanceAsync Method : ComputeDistanceAsync(String,Point,Point,esriUnits,Object) Method




MapName
FromPoint
ToPoint
Units
userState

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ComputeDistanceAsync( _
   ByVal MapName As String, _
   ByVal FromPoint As Point, _
   ByVal ToPoint As Point, _
   ByVal Units As esriUnits, _
   ByVal userState As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapServerProxy
Dim MapName As String
Dim FromPoint As Point
Dim ToPoint As Point
Dim Units As esriUnits
Dim userState As Object
 
instance.ComputeDistanceAsync(MapName, FromPoint, ToPoint, Units, userState)
C# 
public void ComputeDistanceAsync( 
   string MapName,
   Point FromPoint,
   Point ToPoint,
   esriUnits Units,
   object userState
)

Parameters

MapName
FromPoint
ToPoint
Units
userState

See Also

© 2010 All Rights Reserved.