IVsUIShell5.GetThemedColor-Methode: (Guid, String, UInt32)
Veröffentlicht: Oktober 2016
Ruft den aktuellen RGBA-Wert, der eine Design Farbe ab. Diese Methode schlägt fehl, wenn die Farbe nicht vorhanden ist.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
uint GetThemedColor(
[InAttribute] ref Guid colorCategory,
string colorName,
uint colorType
)
unsigned int GetThemedColor(
[InAttribute] Guid% colorCategory,
String^ colorName,
unsigned int colorType
)
abstract GetThemedColor :
colorCategory:Guid byref *
colorName:string *
colorType:uint32 -> uint32
Function GetThemedColor (
<InAttribute> ByRef colorCategory As Guid,
colorName As String,
colorType As UInteger
) As UInteger
Parameter
colorCategory
Type: System.Guid[in] Die Farbkategorie der Design-Farbe.
colorName
Type: System.String[in] Der Name der Farbe der Design-Farbe.
colorType
Type: System.UInt32[in] Der Typ der Farbe der Design-Farbe.
Rückgabewert
Type: System.UInt32
Die RGBA-Wert, der mit Design Farbe.
Hinweise
Farbkategorien sind folgende:
GUID_EnvironmentColorsCategory: {624ed9c3-bdfd-41fa-96c3-7c824ea32e3d}
GUID_TreeViewColorsCatetory: {92ecf08e-8b13-4cf4-99e9-ae2692382185}
GUID_HeaderColorsCatetory: {4997f547-1379-456e-b985-2f413cdfa536}
GUID_SearchControlColorsCatetory: {f1095fad-881f-45f1-8580-589e10325eb8}
Siehe auch
IVsUIShell5-Schnittstelle
Microsoft.VisualStudio.Shell.Interop-Namespace
Zurück zum Anfang