次の方法で共有


IThemeManager.SaveAsDefault メソッド

v2 に適用されます。

ユーザー フォルダーにテーマを保存し、次回設定時の既定のテーマとして設定します。

名前空間:  Microsoft.WebMatrix.Extensibility.Editor
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Sub SaveAsDefault ( _
    theme As ITheme _
)
'使用
Dim instance As IThemeManager 
Dim theme As ITheme

instance.SaveAsDefault(theme)
void SaveAsDefault(
    ITheme theme
)
void SaveAsDefault(
    ITheme^ theme
)
abstract SaveAsDefault : 
        theme:ITheme -> unit
function SaveAsDefault(
    theme : ITheme
)

パラメーター

関連項目

参照

IThemeManager インターフェイス

Microsoft.WebMatrix.Extensibility.Editor 名前空間