获取用于在 Visual Studio 内绘制用户界面的颜色。
命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)
语法
声明
Function GetThemeColor ( _
    Element As vsThemeColors _
) As UInteger
uint GetThemeColor(
    vsThemeColors Element
)
unsigned int GetThemeColor(
    vsThemeColors Element
)
abstract GetThemeColor : 
        Element:vsThemeColors -> uint32 
function GetThemeColor(
    Element : vsThemeColors
) : uint
参数
- Element
 类型:EnvDTE80.vsThemeColors
 UI 的标准颜色。
返回值
类型:System.UInt32
一个表示 vsThemeColors 定义的标准颜色的颜色值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。