ThmxTheme.Open method (SPFile)
開啟指定的佈景主題套件。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function Open ( _
themeFile As SPFile _
) As ThmxTheme
'用途
Dim themeFile As SPFile
Dim returnValue As ThmxTheme
returnValue = ThmxTheme.Open(themeFile)
public static ThmxTheme Open(
SPFile themeFile
)
參數
themeFile
Type: Microsoft.SharePoint.SPFile若要開啟的佈景主題套件。
傳回值
Type: Microsoft.SharePoint.Utilities.ThmxTheme
ThmxTheme 物件,表示已開啟的佈景主題。
備註
這個方法會呼叫themeFile、 false、 FileMode.Open、 FileAccess.ReadWrite的Open(SPFile, Boolean, FileMode, FileAccess)方法。