SharePointProjectMenuItemsRequestedEventArgs Constructor
Initializes a new instance of the SharePointProjectMenuItemsRequestedEventArgs class.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
project As ISharePointProject, _
addMenuItems As IMenuItemCollection, _
actionMenuItems As IMenuItemCollection _
)
public SharePointProjectMenuItemsRequestedEventArgs(
ISharePointProject project,
IMenuItemCollection addMenuItems,
IMenuItemCollection actionMenuItems
)
Parameters
project
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectAn instance of the SharePoint project.
addMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollectionThe collection of menu items to display in the project context menu "Add New Item" area.
actionMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollectionThe collection of menu items to display in the project context menu "Action" area.
.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.