TableRowCollection.IList.Insert(Int32, Object) Method

Definition

有关此成员的说明,请参见 Insert(Int32, Object)For a description of this member, see Insert(Int32, Object).

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

Parameters

index
Int32

从零开始的索引,在该处插入 ObjectThe zero-based index at which to insert the Object.

value
Object

要插入到 TableRowCollectionObjectThe Object to insert into the TableRowCollection.

Implements

Remarks

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TableRowCollection 实例被强制转换为 IList 接口时使用。It can be used only when the TableRowCollection instance is cast to an IList interface. 改用类型安全的 Insert 方法。Use the type-safe Insert method instead.

Applies to