共用方式為


TableLayoutControlCollection(TableLayoutPanel) 建構函式

定義

初始化 TableLayoutControlCollection 類別的新執行個體。

public:
 TableLayoutControlCollection(System::Windows::Forms::TableLayoutPanel ^ container);
public TableLayoutControlCollection(System.Windows.Forms.TableLayoutPanel container);
new System.Windows.Forms.TableLayoutControlCollection : System.Windows.Forms.TableLayoutPanel -> System.Windows.Forms.TableLayoutControlCollection
Public Sub New (container As TableLayoutPanel)

參數

container
TableLayoutPanel

包含 TableLayoutPanel 控制集合的控制項。

例外狀況

.NET 5 及以後版本:參數 containernull

備註

一般來說,應用程式開發者不會直接建立該 TableLayoutControlCollection 類別的實例。 取而代之的是,該物業會回傳Controls對現有TableLayoutControlCollection物件的參考。

適用於

另請參閱