ESRI.ArcGIS.ADF.Web.UI.WebControls
RefreshResource Method
See Also 
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.

See Also

© 2010 All Rights Reserved.