SPTheme.OnPostApplyTheme 方法

执行的操作需要更新 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
)

参数

另请参阅

引用

SPTheme 类

SPTheme 成员

Microsoft.SharePoint.Utilities 命名空间