Export (0) Print
Expand All
Expand Minimize

Control.CreateControlsInstance Method

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

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

Return Value

A new instance of Control.ControlCollection assigned to the control.

Remarks

Notes to Inheritors:  The base class version of this method should not be called by a derived class.

Requirements

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

Show:
© 2015 Microsoft