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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。