ToolStripItemCollection Constructor (ToolStrip^, array<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,
	array<ToolStripItem^>^ value
)

Parameters

owner
Type: System.Windows.Forms::ToolStrip^

The ToolStrip to which this ToolStripItemCollection belongs.

value
Type: array<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: