SharePointProjectItemMenuItemsRequestedEventArgs 构造函数
初始化 SharePointProjectItemMenuItemsRequestedEventArgs 类的新实例。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Sub New ( _
projectItem As ISharePointProjectItem, _
addMenuItems As IMenuItemCollection, _
viewMenuItems As IMenuItemCollection _
)
public SharePointProjectItemMenuItemsRequestedEventArgs(
ISharePointProjectItem projectItem,
IMenuItemCollection addMenuItems,
IMenuItemCollection viewMenuItems
)
参数
- projectItem
类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
SharePoint 项目项的一个实例。
- addMenuItems
类型:Microsoft.VisualStudio.SharePoint.IMenuItemCollection
将在“添加项”上下文菜单组中显示的菜单项的集合。
- viewMenuItems
类型:Microsoft.VisualStudio.SharePoint.IMenuItemCollection
将在“查看项”上下文菜单组中显示的菜单项的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。