ESRI.ArcGIS.ADF.Web.UI.WebControls
RefreshResource Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : RefreshResource Method




mapResourceName
Name of the MapResourceItem in the MapResourceManager that you wish to refresh.
Method to call when you need to redraw all the tiles of a certain resource, for example, when you change the visibility of a layer of a certain resource. This method only works with ImageBlendingMode.Browser.

Syntax

Visual Basic (Declaration) 
Public Sub RefreshResource( _
   ByVal mapResourceName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim mapResourceName As String
 
instance.RefreshResource(mapResourceName)
C# 
public void RefreshResource( 
   string mapResourceName
)

Parameters

mapResourceName
Name of the MapResourceItem in the MapResourceManager that you wish to refresh.

Remarks

See the discussion in the Refresh method for information on when to use RefreshResource.

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.