SPTheme.EnforceThemedStylesForWeb method
Causes the currently applied theme on the web to be re-applied.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub EnforceThemedStylesForWeb ( _
web As SPWeb _
)
'Usage
Dim web As SPWebSPTheme.EnforceThemedStylesForWeb(web)
public static void EnforceThemedStylesForWeb(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe web to re-apply the theme to.