This documentation is archived and is not being maintained.

Control.CreateControlsInstance Method

Creates a new instance of the control collection for the control.

[Visual Basic]
Protected Overridable Function CreateControlsInstance() As _
protected virtual ControlCollection CreateControlsInstance();
protected: virtual ControlCollection* CreateControlsInstance();
protected function CreateControlsInstance() : ControlCollection;

Return Value

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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Controls | Control.ControlCollection