|
| ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer | |
| MapFunctionality Constructor(String,MapResourceBase) | |
| See Also Send Feedback | |
| 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.
| 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 New 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.
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.
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