执行的操作需要更新 SPWeb.ThemedCssFolderUrl 之后。这包括调用 SPWeb.Update()
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Sub OnPostApplyTheme ( _
web As SPWeb, _
newThemedCssFolderUrl As String, _
oldThemedCssFolderUrl As String _
)
用法
Dim web As SPWeb
Dim newThemedCssFolderUrl As String
Dim oldThemedCssFolderUrl As StringSPTheme.OnPostApplyTheme(web, newThemedCssFolderUrl, _
oldThemedCssFolderUrl)
public static void OnPostApplyTheme(
SPWeb web,
string newThemedCssFolderUrl,
string oldThemedCssFolderUrl
)
参数
web
类型:Microsoft.SharePoint.SPWeb已更新的 SPWeb 对象。
- newThemedCssFolderUrl
类型:System.String
- oldThemedCssFolderUrl
类型:System.String