SPWeb.RevertCss 方法

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

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub RevertCss ( _
    cssFile As String _
)
用法
Dim instance As SPWeb
Dim cssFile As String

instance.RevertCss(cssFile)
public void RevertCss(
    string cssFile
)

参数

  • cssFile
    类型:System.String

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

异常

异常 条件
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.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间