SPTheme.OnPostApplyTheme method
Performs operations needed after SPWeb.ThemedCssFolderUrl is updated. This includes calling SPWeb.Update()
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub OnPostApplyTheme ( _
web As SPWeb, _
newThemedCssFolderUrl As String, _
oldThemedCssFolderUrl As String _
)
'Usage
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
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe SPWeb object that was updated.
- newThemedCssFolderUrl
Type: System.String
- oldThemedCssFolderUrl
Type: System.String