Redigera

Dela via


ChartNamedElementCollection<T>.SetItem(Int32, T) Method

Definition

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

protected:
 override void SetItem(int index, T item);
protected override void SetItem (int index, T item);
override this.SetItem : int * 'T -> unit
Protected Overrides Sub SetItem (index As Integer, item As T)

Parameters

index
Int32

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

item
T

The new chart element to insert at the specified index.

Applies to