Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Add Method
Collapse the table of content
Expand the table of content

TabControl.ControlCollection.Add Method

Adds a Control to the collection.

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

public override void Add(
	Control value
)

Parameters

value
Type: System.Windows.Forms.Control

The Control to add.

ExceptionCondition
Exception

The specified Control is a TabPage.

You cannot add a TabPage to a TabPage.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft