ExplorerNodeMenuItemsRequestedEventArgs.MenuItems Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.