Partager via


ToolBarMenuButton.GetMenuItem method

Gets a menu item.

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

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