VSColorTheme.GetThemedColor(ThemeResourceKey) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定资源键的颜色。
public:
static System::Drawing::Color GetThemedColor(Microsoft::VisualStudio::Shell::ThemeResourceKey ^ themeResourceKey);
public static System.Drawing.Color GetThemedColor (Microsoft.VisualStudio.Shell.ThemeResourceKey themeResourceKey);
static member GetThemedColor : Microsoft.VisualStudio.Shell.ThemeResourceKey -> System.Drawing.Color
Public Shared Function GetThemedColor (themeResourceKey As ThemeResourceKey) As Color
参数
- themeResourceKey
- ThemeResourceKey
要获取其颜色的资源键。
返回
返回颜色。