ESRI.ArcGIS.ADF.Web.UI.WebControls
MapToolItem Constructor(String,String,String,MapClientToolAction,Boolean)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapToolItem Class > MapToolItem Constructor : MapToolItem Constructor(String,String,String,MapClientToolAction,Boolean)




name
The name of the map tool item.
toolAssembly
The assembly for the server tool action.
toolClass
The server tool action class.
clientAction
The client tool action.
showLoading
Whether to show the loading image when done with the client action.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal toolAssembly As String, _
   ByVal toolClass As String, _
   ByVal clientAction As MapClientToolAction, _
   ByVal showLoading As Boolean _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim toolAssembly As String
Dim toolClass As String
Dim clientAction As MapClientToolAction
Dim showLoading As Boolean
 
Dim instance As New MapToolItem(name, toolAssembly, toolClass, clientAction, showLoading)
C# 
public MapToolItem( 
   string name,
   string toolAssembly,
   string toolClass,
   MapClientToolAction clientAction,
   bool showLoading
)

Parameters

name
The name of the map tool item.
toolAssembly
The assembly for the server tool action.
toolClass
The server tool action class.
clientAction
The client tool action.
showLoading
Whether to show the loading image when done with the client action.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.