Share via


ExplorerNodeMenuItemsRequestedEventArgs.MenuItems Property

Gets the collection of menu items for the node that is associated with the NodeMenuItemsRequested event.

Namespace:  Microsoft.VisualStudio.SharePoint.Explorer
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Property MenuItems As IMenuItemCollection
public IMenuItemCollection MenuItems { get; private set; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollection
The collection of menu items for the node that is associated with the NodeMenuItemsRequested event.

Remarks

For a code example that demonstrates how to use the MenuItems property to add a shortcut menu item to a node, see How to: Extend a SharePoint Node in Server Explorer.

.NET Framework Security

See Also

Reference

ExplorerNodeMenuItemsRequestedEventArgs Class

Microsoft.VisualStudio.SharePoint.Explorer Namespace