Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the color of the specified resource key.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetThemedColor ( _
themeResourceKey As ThemeResourceKey _
) As Color
public static Color GetThemedColor(
ThemeResourceKey themeResourceKey
)
public:
static Color GetThemedColor(
ThemeResourceKey^ themeResourceKey
)
static member GetThemedColor :
themeResourceKey:ThemeResourceKey -> Color
public static function GetThemedColor(
themeResourceKey : ThemeResourceKey
) : Color
Parameters
themeResourceKey
Type: Microsoft.VisualStudio.Shell.ThemeResourceKeyThe resource key to get the color for.
Return Value
Type: Color
Returns the color.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.