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

適用於

另請參閱