共用方式為


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, System::Object ^ owner);
public MenuItemEventArgs (Microsoft.VisualStudio.SharePoint.IMenuItem menuItem, object owner);
new Microsoft.VisualStudio.SharePoint.MenuItemEventArgs : Microsoft.VisualStudio.SharePoint.IMenuItem * obj -> Microsoft.VisualStudio.SharePoint.MenuItemEventArgs
Public Sub New (menuItem As IMenuItem, owner As Object)

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