Metoda DTE2.GetThemeColor —
Pobiera kolor używany do rysowania interfejsu użytkownika w ramach Visual Studio.
Przestrzeń nazw: EnvDTE80
Zestaw: EnvDTE80 (w EnvDTE80.dll)
Składnia
'Deklaracja
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
Parametry
Element
Typ: EnvDTE80.vsThemeColorsStandardowy kolor dla interfejsu użytkownika.
Wartość zwracana
Typ: UInt32
Wartość koloru reprezentująca standardowy kolor zdefiniowany przez vsThemeColors.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.