Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ChartNamedElementCollection(Of T).SetItem Method

.NET Framework 4.6 and 4.5

Replaces the chart element at the specified index with a new chart element.

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

'Declaration
Protected Overrides Sub SetItem ( _
	index As Integer, _
	item As T _
)

Parameters

index
Type: System.Int32

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

item
Type: T

The new chart element to insert at the specified index.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft