Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.