ToolBarMenuButton.GetMenuItem Method

Gets a menu item.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetMenuItem ( _
    menuItemId As String _
) As MenuItemTemplate
'Usage
Dim instance As ToolBarMenuButton
Dim menuItemId As String
Dim returnValue As MenuItemTemplate

returnValue = instance.GetMenuItem(menuItemId)
public MenuItemTemplate GetMenuItem(
    string menuItemId
)

Parameters

  • menuItemId
    Type: System.String

    The identifier of the menu item.

Return Value

Type: Microsoft.SharePoint.WebControls.MenuItemTemplate
The item to displayed on the menu.

See Also

Reference

ToolBarMenuButton Class

ToolBarMenuButton Members

Microsoft.SharePoint.WebControls Namespace