Control.CreateControlsInstance Control.CreateControlsInstance Control.CreateControlsInstance Control.CreateControlsInstance Method

定義

建立控制項的控制項集合的新執行個體。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

傳回

給繼承者的注意事項

由衍生類別不應該呼叫這個方法的基底類別版本。The base class version of this method should not be called by a derived class.

適用於

另請參閱