ThmxTheme.SetThemeUrlForWeb Method (SPWeb, String, Boolean)
SharePoint 2010
Applies the theme pointed to by the specified URL to the specified web.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
The web where the theme will be applied.
- themeUrl
- Type: System.String
The server-relative URL of the theme file.
- shareGenerated
- Type: System.Boolean
true if the generated Cascading Style Sheet (CSS) files are shared in the site collection; otherwise, false.