SharePointProjectItemMenuItemsRequestedEventArgs Constructor
Initializes a new instance of the SharePointProjectItemMenuItemsRequestedEventArgs class.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
projectItem As ISharePointProjectItem, _
addMenuItems As IMenuItemCollection, _
viewMenuItems As IMenuItemCollection _
)
public SharePointProjectItemMenuItemsRequestedEventArgs(
ISharePointProjectItem projectItem,
IMenuItemCollection addMenuItems,
IMenuItemCollection viewMenuItems
)
Parameters
- projectItem
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
An instance of a SharePoint project item.
- addMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollection
The collection of menu items that will appear in the "Add Item" context menu group.
- viewMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollection
The collection of menu items that will appear in the "View Item" context menu group.
.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.