Condividi tramite


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)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.MarshalByRefObject)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.MarshalByRefObject)]
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