SPTheme.OpenFromXml method (SPFile)
Opens an SPTheme from a sptheme XML file
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function OpenFromXml ( _
spthemeXml As SPFile _
) As SPTheme
'Usage
Dim spthemeXml As SPFile
Dim returnValue As SPTheme
returnValue = SPTheme.OpenFromXml(spthemeXml)
public static SPTheme OpenFromXml(
SPFile spthemeXml
)
Parameters
spthemeXml
Type: Microsoft.SharePoint.SPFileThe SPFile object for the sptheme XML file.
Return value
Type: Microsoft.SharePoint.Utilities.SPTheme
An SPTheme object.