TabControl.ControlCollection.Add(Control) Metod

Definition

Lägger till en Control i samlingen.

public:
 override void Add(System::Windows::Forms::Control ^ value);
public override void Add(System.Windows.Forms.Control value);
public override void Add(System.Windows.Forms.Control? value);
override this.Add : System.Windows.Forms.Control -> unit
Public Overrides Sub Add (value As Control)

Parametrar

value
Control

Att Control lägga till.

Undantag

Den angivna Control är en TabPage.

Kommentarer

Du kan inte lägga till en TabPage i en TabPage.

Gäller för

Se även