TableLayoutStyleCollection.IList.Insert(Int32, Object) TableLayoutStyleCollection.IList.Insert(Int32, Object) TableLayoutStyleCollection.IList.Insert(Int32, Object) Method

定义

有关此方法的说明,请参见 Insert(Int32, Object) 方法。For a description of this method, see the Insert(Int32, Object) method.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ style) = System::Collections::IList::Insert;
void IList.Insert (int index, object style);
Sub Insert (index As Integer, style As Object) Implements IList.Insert

参数

index
Int32 Int32 Int32

应插入 style 的从零开始的索引。The zero-based index at which style should be inserted.

style
Object Object Object

要插入到 IListObjectThe Object to insert into the IList.

实现

异常

style 已经分配给另外一个所有者。style is already assigned to another owner. 必须首先将其从当前位置移除或将其克隆。You must first remove it from its current location or clone it.

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TableLayoutStyleCollection 实例被强制转换为 IList 接口时使用。It can be used only when the TableLayoutStyleCollection instance is cast to an IList interface.

适用于