ToolStrip.CreateControlsInstance 方法

定義

建立控制項的控制項集合的新執行個體。Creates a new instance of the control collection for the control.

protected:
 override System::Windows::Forms::Control::ControlCollection ^ CreateControlsInstance();
protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance ();
override this.CreateControlsInstance : unit -> System.Windows.Forms.Control.ControlCollection
Protected Overrides Function CreateControlsInstance () As Control.ControlCollection

傳回

Control.ControlCollection

指定至控制項的 Control.ControlCollection 的新執行個體。A new instance of Control.ControlCollection assigned to the control.

適用於