ESRI.ArcGIS.ADF.ArcGISServer.Editor
ClearLayerSwatchCache Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace > CreateFeaturePanel Class : ClearLayerSwatchCache Method




layerId
The ID of the layer to clear.
For performance reasons, the swatches displayed on the CreateFeaturePanel tool buttons are generated once and cached for reuse. If the feature symbology is programatically changed on a layer, the swatch cache for that layer can be cleared using this method.

Syntax

Visual Basic (Declaration) 
Public Sub ClearLayerSwatchCache( _
   ByVal layerId As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As CreateFeaturePanel
Dim layerId As Integer
 
instance.ClearLayerSwatchCache(layerId)
C# 
public void ClearLayerSwatchCache( 
   int layerId
)

Parameters

layerId
The ID of the layer to clear.

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.