ESRI.ArcGIS.ADF.Web.UI.WebControls
GetFunctionality(String) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class > GetFunctionality Method : GetFunctionality(String) Method




resourceName
Name of the resource as assigned in the MapResourceManager associated with the Map.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetFunctionality( _
   ByVal resourceName As String _
) As IMapFunctionality
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim resourceName As String
Dim value As IMapFunctionality
 
value = instance.GetFunctionality(resourceName)
C# 
public IMapFunctionality GetFunctionality( 
   string resourceName
)

Parameters

resourceName
Name of the resource as assigned in the MapResourceManager associated with the Map.

Return Value

Map functionality associated with the named resource.

Remarks

Each resource added to the MapResourceManager has a name. By default these names are MapResourceItem0, MapResourceItem1, etc. The developer can assign more descriptive names, such as a name indicating what service the map resource uses, e.g., World. This overloaded version of GetFunctionality retrieves the map functionality using the resource name.

For more information on retrieving functionalities, see the overload GetFunctionality(int).

See Also

© 2010 All Rights Reserved.