SharePointProjectMenuItemsRequestedEventArgs 构造函数

定义

初始化 SharePointProjectMenuItemsRequestedEventArgs 类的新实例。

public SharePointProjectMenuItemsRequestedEventArgs (Microsoft.VisualStudio.SharePoint.ISharePointProject project, Microsoft.VisualStudio.SharePoint.IMenuItemCollection addMenuItems, Microsoft.VisualStudio.SharePoint.IMenuItemCollection actionMenuItems);

参数

project
ISharePointProject

SharePoint 项目的实例。

addMenuItems
IMenuItemCollection

要在项目上下文菜单“添加新项”区域中显示的菜单项集合。

actionMenuItems
IMenuItemCollection

要在项目上下文菜单“操作”区域中显示的菜单项集合。

适用于