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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.