共用方式為


ISharePointProjectItemFileEvents.FileAdded 事件

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

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

語法

'宣告
Event FileAdded As EventHandler(Of SharePointProjectItemFileEventArgs)
event EventHandler<SharePointProjectItemFileEventArgs> FileAdded

.NET Framework 安全性

請參閱

參考

ISharePointProjectItemFileEvents 介面

Microsoft.VisualStudio.SharePoint 命名空間