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
)
パラメーター
theme
型: Microsoft.WebMatrix.Extensibility.Editor.ITheme保存するテーマ、null を渡して既定を復元します。