Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Saves the theme to the users folder, and sets it as the default theme for next startup.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Sub SaveAsDefault ( _
theme As ITheme _
)
'Usage
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
)
Parameters
theme
Type: Microsoft.WebMatrix.Extensibility.Editor.IThemeTheme to save, pass null to restore default.