Redigera

Dela via


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

Definition

Replaces the element at the specified index location.

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 location of the element to replace.

item
T

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

Applies to