SPWeb.RevertCss Method
Reverts style sheet customization of a file to the default style sheet.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- cssFile
- Type: System.String
The file name and extension of the cascading style sheets (CSS) file.
| Exception | Condition |
|---|---|
| SPException |
The cssFile parameter does not contain the extension of a style sheet file (.css). |