Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.RevertCss method

Reverts style sheet customization of a file to the default style sheet.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void RevertCss(
	string cssFile
)

Parameters

cssFile
Type: System.String

The file name and extension of the cascading style sheets (CSS) file.

ExceptionCondition
SPException

The cssFile parameter does not contain the extension of a style sheet file (.css).

This method does nothing if cssFile is null or empty.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.