TabControl.TabPageCollection.IList.Insert(Int32, Object) メソッド

定義

コレクションに TabPage コントロールを挿入します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

index
Int32

TabPage を挿入する位置の、0 から始まるインデックス番号。

valuetabPage
Object

TabControl.TabPageCollection に挿入する TabPage

実装

例外

tabPageTabPage ではありません。

index が 0 未満であるか、Count 以上です。

注釈

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

適用対象