MenuItemEventArgs(IMenuItem, Object) Constructor

Definition

Initializes a new instance of the MenuItemEventArgs class with the old value for the deployment type.

public MenuItemEventArgs (Microsoft.VisualStudio.SharePoint.IMenuItem menuItem, object owner);

Parameters

menuItem
IMenuItem

The instance of Microsoft.VisualStudio.SharePoint.IMenuItem that raises the event.

owner
Object

An object that owns the menu item. Typically this is a node visible in the UI such as a Microsoft.VisualStudio.SharePoint.ISharePointProjectItem or Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNode.

Applies to