ThmxTheme.Open Method (Package)
Opens the specified theme package.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Shared Function Open ( _
thmxPackage As Package _
) As ThmxTheme
'Usage
Dim thmxPackage As Package
Dim returnValue As ThmxTheme
returnValue = ThmxTheme.Open(thmxPackage)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
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.