ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
MapFunctionality Constructor(String,MapResourceBase)
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapFunctionality Class > MapFunctionality Constructor : MapFunctionality Constructor(String,MapResourceBase)




name
Name for the map functionality.
resource
Map resource to use with the functionality.
Constructor taking a name and the map resource for the functionality.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal resource As MapResourceBase _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim resource As MapResourceBase
 
Dim instance As MapFunctionality(name, resource)
C# 
public MapFunctionality( 
   string name,
   MapResourceBase resource
)

Parameters

name
Name for the map functionality.
resource
Map resource to use with the functionality.

Remarks

Typically the recommended approach to obtain a MapFunctionality, if the application contains a Map control control, is to use the Map.GetFunctionalities or Map.GetFunctionality methods, and cast the returned IMapFunctionality to the ArcGIS Server-specific MapFunctionality if needed.

See Also

© 2010 All Rights Reserved.