共用方式為


IRootFileCollection.Add 方法

將新根檔案加入集合中。

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

語法

'宣告
Function Add As IRootFile
IRootFile Add()

傳回值

型別:Microsoft.VisualStudio.SharePoint.Packages.IRootFile
物件,表示加入至集合中的新根檔案。

.NET Framework 安全性

請參閱

參考

IRootFileCollection 介面

Add 多載

Microsoft.VisualStudio.SharePoint.Packages 命名空間