ToolStripComboBox 建構函式

定義

初始化 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class.

多載

ToolStripComboBox()

初始化 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class.

ToolStripComboBox(String)

使用指定的名稱,初始化 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class with the specified name.

ToolStripComboBox(Control)

初始化衍生自基底控制項之 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class derived from a base control.

ToolStripComboBox()

初始化 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class.

public:
 ToolStripComboBox();
public ToolStripComboBox ();
Public Sub New ()

ToolStripComboBox(String)

使用指定的名稱,初始化 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class with the specified name.

public:
 ToolStripComboBox(System::String ^ name);
public ToolStripComboBox (string name);
new System.Windows.Forms.ToolStripComboBox : string -> System.Windows.Forms.ToolStripComboBox
Public Sub New (name As String)

參數

name
String

ToolStripComboBox 的名稱。The name of the ToolStripComboBox.

ToolStripComboBox(Control)

初始化衍生自基底控制項之 ToolStripComboBox 類別的新執行個體。Initializes a new instance of the ToolStripComboBox class derived from a base control.

public:
 ToolStripComboBox(System::Windows::Forms::Control ^ c);
public ToolStripComboBox (System.Windows.Forms.Control c);
new System.Windows.Forms.ToolStripComboBox : System.Windows.Forms.Control -> System.Windows.Forms.ToolStripComboBox
Public Sub New (c As Control)

參數

c
Control

基底控制項。The base control.

例外狀況

不支援此作業。The operation is not supported.

適用於