共用方式為


IDwpFileCollection.Add 方法

將新 Web 組件檔案加入集合中。

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

語法

'宣告
Function Add As IDwpFile
IDwpFile Add()

傳回值

型別:Microsoft.VisualStudio.SharePoint.Packages.IDwpFile
物件,表示加入至集合中的新 Web 組件 (.dwp) 檔案。

.NET Framework 安全性

請參閱

參考

IDwpFileCollection 介面

Add 多載

Microsoft.VisualStudio.SharePoint.Packages 命名空間