Control.ControlCollection(Control) 构造函数

定义

初始化 Control.ControlCollection 类的新实例。

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)

参数

owner
Control

一个 Control 表示拥有控件集合的控件。

例外

.NET 5 及更高版本:owner 参数为 null

适用于

另请参阅