DTE2.GetThemeColor Method
Gets a color used to draw the user interface within Visual Studio.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
Function GetThemeColor ( _
Element As vsThemeColors _
) As UInteger
uint GetThemeColor(
vsThemeColors Element
)
unsigned int GetThemeColor(
vsThemeColors Element
)
abstract GetThemeColor :
Element:vsThemeColors -> uint32
function GetThemeColor(
Element : vsThemeColors
) : uint
Parameters
- Element
Type: EnvDTE80.vsThemeColors
Standard color for UI.
Return Value
Type: System.UInt32
A color value representing a standard color defined by vsThemeColors.
.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.