VsColors.GetCurrentThemedColorValues Method

Gets all of the current color values in a single Dictionary. This is useful for scenarios where colors are required outside the Visual Studio process or in an AppDomain other than the primary AppDomain, where all of the colors may need to be copied in bulk.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetCurrentThemedColorValues As IDictionary(Of ThemeResourceKey, UInteger)
public static IDictionary<ThemeResourceKey, uint> GetCurrentThemedColorValues()
public:
static IDictionary<ThemeResourceKey^, unsigned int>^ GetCurrentThemedColorValues()
static member GetCurrentThemedColorValues : unit -> IDictionary<ThemeResourceKey, uint32> 
public static function GetCurrentThemedColorValues() : IDictionary<ThemeResourceKey, uint>

Return Value

Type: IDictionary<ThemeResourceKey, UInt32>
A dictionary mapping the keys for colors to their ARGB value for the current theme.

.NET Framework Security

See Also

Reference

VsColors Class

Microsoft.VisualStudio.Shell Namespace