Share via


Menu.MenuItems Property

Gets a value indicating the collection of MenuItem objects associated with the menu.

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

Syntax

'Declaration
Public ReadOnly Property MenuItems As MenuItemCollection
    Get
'Usage
Dim instance As Menu
Dim value As MenuItemCollection

value = instance.MenuItems
public MenuItemCollection MenuItems { get; }

Property Value

Type: Microsoft.SharePoint.WebPartPages.MenuItemCollection
A Microsoft.SharePoint.WebPartPages.MenuItemCollectionvalue that specifies the MenuItem objects for the menu.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebPartPages Namespace