ESRI.ArcGIS.ADF.Web.UI.WebControls
GetFunctionality(String) Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim resourceName As String
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality
 
value = instance.GetFunctionality(resourceName)
C# 
public ESRI.ArcGIS.ADF.Web.DataSources.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).

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.