ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / DataSeriesCollection Class / InsertItem Method
The index at which element should be inserted.
The element to insert.


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

    Parameters

    index
    The index at which element should be inserted.
    item
    The element to insert.
    See Also