SharePointProjectItemMenuItemsRequestedEventArgs 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 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.