次の方法で共有


ThmxTheme.Open method (SPFile)

Opens the specified theme package.

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

Syntax

'Declaration
Public Shared Function Open ( _
    themeFile As SPFile _
) As ThmxTheme
'Usage
Dim themeFile As SPFile
Dim returnValue As ThmxTheme

returnValue = ThmxTheme.Open(themeFile)
public static ThmxTheme Open(
    SPFile themeFile
)

Parameters

Return value

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

Remarks

This method calls the Open(SPFile, Boolean, FileMode, FileAccess) method with themeFile, false, FileMode.Open, FileAccess.ReadWrite.

See also

Reference

ThmxTheme class

ThmxTheme members

Open overload

Microsoft.SharePoint.Utilities namespace