ChartElementCollection<T>.SetItem(Int32, T) 方法
定义
替换指定索引位置的元素。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)
参数
- 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. 对于引用类型,该值可以为 null。The value can be null for reference types.