ToolStripItemCollection::Add Method (String^, Image^)
.NET Framework (current version)
Adds a ToolStripItem that displays the specified image and text to the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
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
Available since 2.0
Show: