ESRI.ArcGIS.ADF.ArcGISServer.Editor
ClearLayerSwatchCache Method
See Also 
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.

See Also

© 2010 All Rights Reserved.