ToolStripItemCollection::Add Method (String^, Image^)

 

Adds a ToolStripItem that displays the specified image and text to the collection.

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

public:
ToolStripItem^ Add(
	String^ text,
	Image^ image
)

Parameters

text
Type: System::String^

The text to be displayed on the ToolStripItem.

image
Type: System.Drawing::Image^

The Image to be displayed on the ToolStripItem.

.NET Framework
Available since 2.0
Return to top
Show: