Share via


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

Return value

Type: Microsoft.SharePoint.Utilities.SPTheme
An SPTheme object.

See also

Reference

SPTheme class

SPTheme members

OpenFromXml overload

Microsoft.SharePoint.Utilities namespace