Theme Property
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

SPWeb.Theme Property

Windows SharePoint Services 3

Gets the name of the theme that is applied to the Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Theme { get; }

Property Value

Type: System.String
A string that contains the name of the theme.

Use the ApplyTheme method to set the theme for a site.

© 2016 Microsoft