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

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