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




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

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal resource As ImageResourceBase _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim resource As ImageResourceBase
 
Dim instance As ImageMapFunctionality(name, resource)
C# 
public ImageMapFunctionality( 
   string name,
   ImageResourceBase 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.