ThmxTheme.Open Method (Stream)
Opens a theme package on the specified stream.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.MarshalByRefObject)> _
Public Shared Function Open ( _
stream As Stream _
) As ThmxTheme
'Usage
Dim stream As Stream
Dim returnValue As ThmxTheme
returnValue = ThmxTheme.Open(stream)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.MarshalByRefObject)]
public static ThmxTheme Open(
Stream stream
)
Parameters
stream
Type: System.IO.StreamThe I/O stream on which to open the package.
Return Value
Type: Microsoft.SharePoint.Utilities.ThmxTheme
A ThmxTheme object that represents the opened theme.