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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.