ThmxTheme.Open method (SPFile)
Opens the specified theme package.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function Open ( _
themeFile As SPFile _
) As ThmxTheme
'Usage
Dim themeFile As SPFile
Dim returnValue As ThmxTheme
returnValue = ThmxTheme.Open(themeFile)
public static ThmxTheme Open(
SPFile themeFile
)
Parameters
themeFile
Type: Microsoft.SharePoint.SPFileThe theme package to be opened.
Return value
Type: Microsoft.SharePoint.Utilities.ThmxTheme
A ThmxTheme object that represents the opened theme.
Remarks
This method calls the Open(SPFile, Boolean, FileMode, FileAccess) method with themeFile, false, FileMode.Open, FileAccess.ReadWrite.