|
| ESRI.ArcGIS.ADF.IMS | |
| Remove Method | |
| See Also Example | |
| ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > ValueCollection Class : Remove Method |
- val
- A reference to the Value item to remove from the renderer's value collection.
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
Parameters
- val
- A reference to the Value item to remove from the renderer's value collection.
The following example removes the smallest cities from a renderer via the
ValueMapRenderer's collection. It first drills down into the layer (which has a
GroupRenderer) to find the ValueCollection. Then it iterates through the values,
finding the value range based on the minimum value. If found, the value is removed
from the renderer.
| Visual Basic | Copy Code |
|---|---|
' Access the values collection of a value map renderer | |
| C# | Copy Code |
|---|---|
// Access the values collection of a value map renderer | |
The input parameter must be a valid reference to an existing Value object in the
collection, either a ValueRange or a UniqueValue
object.