ChartElementCollection<T>.SetItem Method

Replaces the element at the specified index location.

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

protected override void SetItem(
	int index,
	T item
)

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

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft