ESRI.ArcGIS.ADF.Web.UI.WebControls
InitializedFunctionalities Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : InitializedFunctionalities Property




Whether the functionalities and resources that the map uses have been initialized.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public ReadOnly Property InitializedFunctionalities As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Boolean
 
value = instance.InitializedFunctionalities
C# 
[BrowsableAttribute(false)]
public bool InitializedFunctionalities {get;}

Return Value

Boolean value indicating whether the functionalities and resources that the map uses have been initialized.

Remarks

The Map control uses resources (services), and those resources have certain functionalities. In order to work with those resources and functionalities, they must be initialized by verifying the connections to the underlying services and creating the appropriate objects.

Since initialization takes time to perform, it may not occur on every postback and callback. If you attempt to access a resource or functionality without it being initialized, an error will occur.

Before attempting to access resources and functionalities in the Map, you can check this property to ensure resources have been initialized. If not, then you can call InitializeFunctionalities() to initialize all resources/functionalities, or InitializeFunctionality() to initialize just the resource/functionality you need to work with.

See Also

© 2010 All Rights Reserved.