SharePointProjectMenuItemsRequestedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
要在项目上下文菜单“操作”区域中显示的菜单项集合。