편집

다음을 통해 공유


ToolStripItemCollection(ToolStrip, ToolStripItem[]) Constructor

Definition

Initializes a new instance of the ToolStripItemCollection class with the specified container ToolStrip and the specified array of ToolStripItem controls.

public:
 ToolStripItemCollection(System::Windows::Forms::ToolStrip ^ owner, cli::array <System::Windows::Forms::ToolStripItem ^> ^ value);
public ToolStripItemCollection (System.Windows.Forms.ToolStrip owner, System.Windows.Forms.ToolStripItem[] value);
new System.Windows.Forms.ToolStripItemCollection : System.Windows.Forms.ToolStrip * System.Windows.Forms.ToolStripItem[] -> System.Windows.Forms.ToolStripItemCollection
Public Sub New (owner As ToolStrip, value As ToolStripItem())

Parameters

owner
ToolStrip

The ToolStrip to which this ToolStripItemCollection belongs.

value
ToolStripItem[]

An array of type ToolStripItem containing the initial controls for this ToolStripItemCollection.

Exceptions

The owner parameter is null.

Applies to