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.

適用於

另請參閱