Partager via


SharePointProjectItemMenuItemsRequestedEventArgs Constructor

Definition

Initializes a new instance of the SharePointProjectItemMenuItemsRequestedEventArgs class.

public:
 SharePointProjectItemMenuItemsRequestedEventArgs(Microsoft::VisualStudio::SharePoint::ISharePointProjectItem ^ projectItem, Microsoft::VisualStudio::SharePoint::IMenuItemCollection ^ addMenuItems, Microsoft::VisualStudio::SharePoint::IMenuItemCollection ^ viewMenuItems);
public SharePointProjectItemMenuItemsRequestedEventArgs (Microsoft.VisualStudio.SharePoint.ISharePointProjectItem projectItem, Microsoft.VisualStudio.SharePoint.IMenuItemCollection addMenuItems, Microsoft.VisualStudio.SharePoint.IMenuItemCollection viewMenuItems);
new Microsoft.VisualStudio.SharePoint.SharePointProjectItemMenuItemsRequestedEventArgs : Microsoft.VisualStudio.SharePoint.ISharePointProjectItem * Microsoft.VisualStudio.SharePoint.IMenuItemCollection * Microsoft.VisualStudio.SharePoint.IMenuItemCollection -> Microsoft.VisualStudio.SharePoint.SharePointProjectItemMenuItemsRequestedEventArgs
Public Sub New (projectItem As ISharePointProjectItem, addMenuItems As IMenuItemCollection, viewMenuItems As IMenuItemCollection)

Parameters

projectItem
ISharePointProjectItem

An instance of a SharePoint project item.

addMenuItems
IMenuItemCollection

The collection of menu items that will appear in the "Add Item" context menu group.

viewMenuItems
IMenuItemCollection

The collection of menu items that will appear in the "View Item" context menu group.

Applies to