MenuItemEventArgs(IMenuItem, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.