Spread Windows Forms 11.0 Product Documentation
AddRange Method (SeriesCollection)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > SeriesCollection Class : AddRange Method
Array of series to add.
Adds an array of series to the collection.
Syntax
'Declaration
 
Public Sub AddRange( _
   ByVal items() As Series _
) 
'Usage
 
Dim instance As SeriesCollection
Dim items() As Series
 
instance.AddRange(items)
public void AddRange( 
   Series[] items
)

Parameters

items
Array of series to add.
Exceptions
ExceptionDescription
items is a null reference (Nothing in VB) or some items[i] is a null reference (Nothing in VB).
Remarks
The function fires a list changed event with the old index the index at which to start adding. The new index is the index of the last added element.
See Also

Reference

SeriesCollection Class
SeriesCollection Members