ThmxTheme.Open method (Package)
Opens the specified theme package.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function Open ( _
thmxPackage As Package _
) As ThmxTheme
'Usage
Dim thmxPackage As Package
Dim returnValue As ThmxTheme
returnValue = ThmxTheme.Open(thmxPackage)
public static ThmxTheme Open(
Package thmxPackage
)
Parameters
thmxPackage
Type: System.IO.Packaging.PackageThe theme package to be opened.
Return value
Type: Microsoft.SharePoint.Utilities.ThmxTheme
A ThmxTheme object that represents the opened theme.