Control.ControlCollection(Control) 构造函数

定义

初始化 Control.ControlCollection 类的新实例。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)

参数

owner
Control

Control,它表示拥有控件集合的控件。A Control representing the control that owns the control collection.

适用于

另请参阅