TableRowCollection.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

オブジェクトの挿入位置となる、コレクション内の 0 から始まるインデックス。

o
Object

コレクションに挿入するオブジェクト。

実装

注釈

通常、メソッドを AddAt 使用してオブジェクトに要素を追加する TableRowCollection 必要があります。

メソッドは IList.Insert 、明示的なインターフェイス メンバーの実装です。 これは、TableRowCollection のインスタンスが IList インターフェイスにキャストされる場合のみ、使用できます。

適用対象

こちらもご覧ください