Udostępnij za pośrednictwem


VsColors.GetCurrentThemedColorValues Method

Definition

Gets and returns 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.

public:
 static System::Collections::Generic::IDictionary<Microsoft::VisualStudio::Shell::ThemeResourceKey ^, System::UInt32> ^ GetCurrentThemedColorValues();
public static System.Collections.Generic.IDictionary<Microsoft.VisualStudio.Shell.ThemeResourceKey,uint> GetCurrentThemedColorValues ();
static member GetCurrentThemedColorValues : unit -> System.Collections.Generic.IDictionary<Microsoft.VisualStudio.Shell.ThemeResourceKey, uint32>
Public Function GetCurrentThemedColorValues () As IDictionary(Of ThemeResourceKey, UInteger)

Returns

A dictionary mapping the keys for colors to their ARGB value for the current theme.

Applies to