SPRibbonMenuItem constructor

Initializes a new instance of an SPRibbonMenuItem object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPRibbonMenuItem(
	string text,
	SPRibbonCommand command,
	string imageUrl
)

Parameters

text
Type: System.String

The text of the menu item.

command
Type: Microsoft.SharePoint.WebControls.SPRibbonCommand

The command to execute for the menu item.

imageUrl
Type: System.String

The URL of the image to display for the menu item.

Show: