VSColorTheme.GetThemedColor(ThemeResourceKey) 方法

定义

获取指定资源键的颜色。

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

要获取其颜色的资源键。

返回

Color

返回颜色。

适用于