MenuItemEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the MenuItemEventArgs class with the old value for the deployment type.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
menuItem As IMenuItem, _
owner As Object _
)
public MenuItemEventArgs(
IMenuItem menuItem,
Object owner
)
Parameters
menuItem
Type: Microsoft.VisualStudio.SharePoint.IMenuItemThe instance of Microsoft.VisualStudio.SharePoint.IMenuItem that raises the event.
owner
Type: System.ObjectAn 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.
.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.