共用方式為


ITemplateFileCollection.Add 方法

將新範本檔案加入集合中。

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

語法

'宣告
Function Add As ITemplateFile
ITemplateFile Add()

傳回值

型別:Microsoft.VisualStudio.SharePoint.Packages.ITemplateFile
物件,表示加入至集合中的新範本檔。

.NET Framework 安全性

請參閱

參考

ITemplateFileCollection 介面

Add 多載

Microsoft.VisualStudio.SharePoint.Packages 命名空間