IThemeManager.SaveAsDefault 方法
适用于版本2
将主题保存到用户文件夹中,并将其设置为下次启动时的默认主题。
命名空间: 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 可还原默认值。