ChartElementCollection<T>::InsertItem Method (Int32, T)

.NET Framework (current version)
 

Inserts an element into the Collection<T> at the specified index location.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

protected:
virtual void InsertItem(
	int index,
	T item
) override

Parameters

index
Type: System::Int32

The zero-based index location of the item will be inserted.

item
Type: T

The object to insert. The value can be null for reference types.

.NET Framework
Available since 4.0
Return to top
Show: