M_Cyjb_Collections_ObjectModel_ListBase_1_SetItemAt - CYJB/Cyjb GitHub Wiki

ListBase(T).SetItemAt 方法

替换指定索引处的元素。

Namespace: Cyjb.Collections.ObjectModel
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

protected abstract void SetItemAt(
	int index,
	T item
)

参数

 

index
Type: System.Int32
待替换元素的从零开始的索引。
item
Type: T
位于指定索引处的元素的新值。

参见

Reference

ListBase(T) 类
Cyjb.Collections.ObjectModel 命名空间

⚠️ **GitHub.com Fallback** ⚠️