Compartir a través de


VSColorTheme.GetThemedColor Method

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

Return Value

Type: Color
Returns the color.

.NET Framework Security

See Also

Reference

VSColorTheme Class

Microsoft.VisualStudio.PlatformUI Namespace