System.Windows.Forms.ToolStripItemCollection.Add Method

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

Syntax

public ToolStripItem Add (string text, System.Drawing.Image image)

Parameters

text
The text to be displayed on the System.Windows.Forms.ToolStripItem.
image
The System.Drawing.Image to be displayed on the System.Windows.Forms.ToolStripItem.

Returns

The new System.Windows.Forms.ToolStripItem.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0