語言

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

A Control 代表擁有控制集合的控制項。

例外狀況

.NET 5 及以後版本:owner 參數為 null。

適用於

另請參閱