Control.CreateControlsInstance Method

Definition

为控件创建控件集合的新实例。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

Returns

Control.ControlCollection

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

Notes to Inheritors

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

Applies to

See also