ToolStripItemCollection Constructor
Collapse the table of content
Expand the table of content

ToolStripItemCollection Constructor (ToolStrip, ToolStripItem[])

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ToolStripItemCollection(
	ToolStrip owner,
	ToolStripItem[] value
)

Parameters

owner
Type: System.Windows.Forms.ToolStrip

The ToolStrip to which this ToolStripItemCollection belongs.

value
Type: System.Windows.Forms.ToolStripItem[]

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

Exception Condition
ArgumentNullException

The owner parameter is null.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft