SharePointProjectItemMenuItemsRequestedEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.ISharePointProjectItemAn instance of a SharePoint project item.
addMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollectionThe collection of menu items that will appear in the "Add Item" context menu group.
viewMenuItems
Type: Microsoft.VisualStudio.SharePoint.IMenuItemCollectionThe 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.