Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

.NET Framework (current version)
 

Replaces the element at the specified index location.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

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

Parameters

index
Type: System::Int32

The zero-based index location of the element to replace.

item
Type: T

The new value for the element at the specified index location. The value can be null for reference types.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft