SharePointProjectMenuItemsRequestedEventArgs 建構函式
初始化 SharePointProjectMenuItemsRequestedEventArgs 類別的新執行個體。
命名空間: Microsoft.VisualStudio.SharePoint
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Public Sub New ( _
project As ISharePointProject, _
addMenuItems As IMenuItemCollection, _
actionMenuItems As IMenuItemCollection _
)
public SharePointProjectMenuItemsRequestedEventArgs(
ISharePointProject project,
IMenuItemCollection addMenuItems,
IMenuItemCollection actionMenuItems
)
參數
- project
型別:Microsoft.VisualStudio.SharePoint.ISharePointProject
SharePoint 專案的執行個體。
- addMenuItems
型別:Microsoft.VisualStudio.SharePoint.IMenuItemCollection
顯示在專案內容功能表 [加入新項目] 區域中的功能表項目集合。
- actionMenuItems
型別:Microsoft.VisualStudio.SharePoint.IMenuItemCollection
顯示在專案內容功能表 [動作] 區域中的功能表項目集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。