Control.CreateControlsInstance 方法

定义

为控件创建控件集合的新实例。Creates a new instance of the control collection for the control.

protected:
 virtual System::Windows::Forms::Control::ControlCollection ^ CreateControlsInstance();
protected virtual System.Windows.Forms.Control.ControlCollection CreateControlsInstance ();
abstract member CreateControlsInstance : unit -> System.Windows.Forms.Control.ControlCollection
override this.CreateControlsInstance : unit -> System.Windows.Forms.Control.ControlCollection
Protected Overridable Function CreateControlsInstance () As Control.ControlCollection

返回

分配给控件的 Control.ControlCollection 的新实例。A new instance of Control.ControlCollection assigned to the control.

继承者说明

此方法的基类版本不应由派生类调用。The base class version of this method should not be called by a derived class.

适用于

另请参阅