語言

RdlCollectionBase<T>.SetItem(Int32, T) 方法

定義

取代位於指定索引處的專案。

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

要替換的元素的零基指數。

item
T

該元素在指定索引處的新值。

適用於