MenuItemEventArgs Constructor
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.IMenuItem
The instance of Microsoft.VisualStudio.SharePoint.IMenuItem that raises the event.
- owner
Type: System.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.
.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.