TabControl.TabPageCollection.IList.Insert(Int32, Object) Method
Definition
Inserts a TabPage control into the collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
Sub Insert (index As Integer, value As Object) Implements IList.Insert
Parameters
- tabPage
- Object
The TabPage to insert into the TabControl.TabPageCollection.
Implements
Exceptions
tabPage
is not a TabPage.
index
is less than 0, or index is greater than or equal to Count.
Remarks
This member is an explicit interface member implementation. It can be used only when the TabControl.TabPageCollection instance is cast to an IList interface.