ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / DataSeriesCollection Class / SetItem Method
The index of element to replace.
The new element at the specified index.


In This Topic
    SetItem Method (DataSeriesCollection)
    In This Topic
    Replaces the element at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub SetItem( _
       ByVal index As Integer, _
       ByVal item As DataSeries _
    ) 
    'Usage
     
    
    Dim instance As DataSeriesCollection
    Dim index As Integer
    Dim item As DataSeries
     
    instance.SetItem(index, item)
    protected override void SetItem( 
       int index,
       DataSeries item
    )

    Parameters

    index
    The index of element to replace.
    item
    The new element at the specified index.
    See Also