ToolStripItemCollection(ToolStrip, ToolStripItem[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.