TableCellCollection.IList.Insert(Int32, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将对象插入集合中的指定索引处。
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,才能使用它。