Upravit

Sdílet prostřednictvím


TabControl.TabPageCollection.IList.Add(Object) Method

Definition

Adds a TabPage control to the collection.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
int IList.Add (object? value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

Parameters

value
Object

The TabPage to add to the collection.

Returns

The position into which the TabPage was inserted.

Implements

Exceptions

value is not a TabPage.

value is null.

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.

Applies to