ESRI.ArcGIS.ADF.Web.UI.WebControls
MapResourceManager Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : MapResourceManager Property




The ID of the MapResourceManager whose resources will be displayed on the map.

Syntax

Visual Basic (Declaration) 
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapResourceManagerEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResDescriptionAttribute("The ID of the MapResourceManager whose resources will be displayed on the map.")>
<ResCategoryAttribute("Resources")>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property MapResourceManager As String
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As String
 
instance.MapResourceManager = value
 
value = instance.MapResourceManager
C# 
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapResourceManagerEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResDescriptionAttribute("The ID of the MapResourceManager whose resources will be displayed on the map.")]
[ResCategoryAttribute("Resources")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
public string MapResourceManager {get; set;}

Remarks

This property must be set to the ID of a MapResourceManager added to the page. If not set, then a runtime error will occur.

See Also

© 2010 All Rights Reserved.