共用方式為


ISharePointProjectItemEvents.ProjectItemAdded 事件

發生於加入新的 ISharePointProjectItem 執行個體時。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Event ProjectItemAdded As EventHandler(Of SharePointProjectItemEventArgs)
event EventHandler<SharePointProjectItemEventArgs> ProjectItemAdded

.NET Framework 安全性

請參閱

參考

ISharePointProjectItemEvents 介面

Microsoft.VisualStudio.SharePoint 命名空間