TabControl::TabPageCollection::Add Method (String^)

 

Creates a tab page with the specified text, and adds it to the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void Add(
	String^ text
)

Parameters

text
Type: System::String^

The text to display on the tab page.

The newly created TabPage is added to the end of the collection.

.NET Framework
Available since 2.0
Return to top
Show: