Share via


SPRibbonMenuItem Constructor

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

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    command As SPRibbonCommand, _
    imageUrl As String _
)
'Usage
Dim text As String
Dim command As SPRibbonCommand
Dim imageUrl As String

Dim instance As New SPRibbonMenuItem(text, command, _
    imageUrl)
public SPRibbonMenuItem(
    string text,
    SPRibbonCommand command,
    string imageUrl
)

Parameters

See Also

Reference

SPRibbonMenuItem Class

SPRibbonMenuItem Members

Microsoft.SharePoint.WebControls Namespace