TableCellCollection.IList.Insert(Int32, Object) 方法

定义

将对象插入集合中的指定索引处。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ o) = System::Collections::IList::Insert;
void IList.Insert(int index, object o);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, o As Object) Implements IList.Insert

参数

index
Int32

集合中要插入对象的从零开始的索引。

o
Object

要插入到集合中的对象。

实现

注解

通常,应使用 AddAt 该方法向对象添加元素 TableCellCollection

该方法 IList.Insert 是显式接口成员实现。 仅当实例强制转换为TableCellCollection接口时IList,才能使用它。

适用于

另请参阅