System::Collections::Generic::IList::Insert 方法

IList::Insert method

在指定位置插入元素,后续元素向后移动。

virtual void System::Collections::Generic::IList<T>::Insert(int index, const T &item)=0
参数类型描述
索引int插入元素的索引位置。
const T&要在指定索引插入的项。

另见