ThemeCssUrl property
Collapse the table of content
Expand the table of content

SPWeb.ThemeCssUrl property

NOTE: This API is now obsolete.

Gets the URL for the cascading style sheets file that is used in the theme for the website.

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

[ObsoleteAttribute("This property applies to SharePoint 2007 theming and is no longer functional", 
public string ThemeCssUrl { get; }

Property value

Type: System.String
A string that contains the URL.

Caution noteCaution

This API is deprecated; use it only when the UI is in backward compatibility mode (SPWeb.UIVersion = 3).

© 2015 Microsoft