IThemeManager.CurrentTheme 属性

适用于版本2

获取从主题文件中加载的当前主题。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
ReadOnly Property CurrentTheme As ITheme 
    Get
用法
Dim instance As IThemeManager 
Dim value As ITheme 

value = instance.CurrentTheme
ITheme CurrentTheme { get; }
property ITheme^ CurrentTheme {
    ITheme^ get ();
}
abstract CurrentTheme : ITheme
function get CurrentTheme () : ITheme

属性值

类型:Microsoft.WebMatrix.Extensibility.Editor.ITheme
从主题文件中加载的当前主题。

注释

这可以是当前编辑器主题的一个子集。例如,只是与 C# 相关的主题更改。

请参阅

参考

IThemeManager 接口

Microsoft.WebMatrix.Extensibility.Editor 命名空间