ESRI.ArcGIS.ADF.Web.UI.WebControls
InitializeFunctionality Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : InitializeFunctionality Method




mapResourceItem
The resource item to add functionality for.
Initializes a functionality after creating it for the passed in resource item object. Call this method if you add a map resource item programmatically to the MapResourceManager or change a resource item programmatically.

Syntax

Visual Basic (Declaration) 
Public Sub InitializeFunctionality( _
   ByVal mapResourceItem As MapResourceItem _
) 
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim mapResourceItem As MapResourceItem
 
instance.InitializeFunctionality(mapResourceItem)
C# 
public void InitializeFunctionality( 
   MapResourceItem mapResourceItem
)

Parameters

mapResourceItem
The resource item to add functionality for.

Remarks

Initialization of functionalities retrieves the data required to use the map functionalities and populates the functionality objects with the required information.

As of the Service Pack 1 of the 9.2 version of the Web ADF, initialization does not necessarily take place on every page postback or callback. Before accessing and using a functionality, you should ensure that it is initialized.

Initialization causes the Web ADF page to contact the GIS server that provides the services used. This takes time and consumes network and server resources. Hence, you should only initialize functionalities that you will actually work with during that callback or postback.

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.