Share via


ThmxTheme.Open method (Stream, FileMode, FileAccess)

Opens a theme package using the given I/O stream, file mode, and file access.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Open ( _
    stream As Stream, _
    mode As FileMode, _
    access As FileAccess _
) As ThmxTheme
'Usage
Dim stream As Stream
Dim mode As FileMode
Dim access As FileAccess
Dim returnValue As ThmxTheme

returnValue = ThmxTheme.Open(stream, mode, _
    access)
public static ThmxTheme Open(
    Stream stream,
    FileMode mode,
    FileAccess access
)

Parameters

Return value

Type: Microsoft.SharePoint.Utilities.ThmxTheme
A ThmxTheme object that represents the opened theme.

See also

Reference

ThmxTheme class

ThmxTheme members

Open overload

Microsoft.SharePoint.Utilities namespace