IThemeManager.Apply 方法
适用于版本2
将主题应用于当前的活动编辑器。
命名空间: Microsoft.WebMatrix.Extensibility.Editor
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Sub Apply ( _
theme As ITheme _
)
用法
Dim instance As IThemeManager
Dim theme As ITheme
instance.Apply(theme)
void Apply(
ITheme theme
)
void Apply(
ITheme^ theme
)
abstract Apply :
theme:ITheme -> unit
function Apply(
theme : ITheme
)
参数
theme
类型:Microsoft.WebMatrix.Extensibility.Editor.ITheme要应用的主题,对于默认主题为 null。