| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property InitializedFunctionalities As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool InitializedFunctionalities {get;} | |
Return Value
Boolean value indicating whether the functionalities and resources that the map uses have been initialized.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.
Target Platforms:Windows XP Professional, Windows Server 2003 family