Share via


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

See also

Reference

SPTheme class

SPTheme members

Microsoft.SharePoint.Utilities namespace