Editar

Compartilhar via


Control.ControlCollection(Control) Constructor

Definition

Initializes a new instance of the Control.ControlCollection class.

public:
 ControlCollection(System::Windows::Forms::Control ^ owner);
public ControlCollection (System.Windows.Forms.Control owner);
new System.Windows.Forms.Control.ControlCollection : System.Windows.Forms.Control -> System.Windows.Forms.Control.ControlCollection
Public Sub New (owner As Control)

Parameters

owner
Control

A Control representing the control that owns the control collection.

Exceptions

.NET 5 and later versions: The owner argument is null.

Applies to

See also