从 sptheme XML 文件将打开 SPTheme
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function OpenFromXml ( _
spthemeXml As SPFile _
) As SPTheme
用法
Dim spthemeXml As SPFile
Dim returnValue As SPTheme
returnValue = SPTheme.OpenFromXml(spthemeXml)
public static SPTheme OpenFromXml(
SPFile spthemeXml
)
参数
spthemeXml
类型:Microsoft.SharePoint.SPFileSPFile sptheme XML 文件的对象。
返回值
类型:Microsoft.SharePoint.Utilities.SPTheme
一个 SPTheme 对象。