ESRI.ArcGIS.ADF.IMS
Remove Method
See Also  Example
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > ChartValueCollection Class : Remove Method




c
ChartValue to be removed.
Remove a ChartValue from the collection.

Syntax

Visual Basic (Declaration) 
Public Sub Remove( _
   ByVal c As ChartValue _
) 
Visual Basic (Usage)Copy Code
Dim instance As ChartValueCollection
Dim c As ChartValue
 
instance.Remove(c)
C# 
public void Remove( 
   ChartValue c
)

Parameters

c
ChartValue to be removed.

Example

Visual BasicCopy Code
For Each cv As ChartValue In chartValueColl

    If cv.Value

Remarks

To remove a chart value with this method, first obtain a reference to the value. One way to do this is to iterate through the values until you find the one you want to remove. See the example below.

See Also

© 2010 All Rights Reserved.