IVsUIShell6.GetThemedColor Method
Gets the current RGBA value of a themed color. This method fails if the color does not exist.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function GetThemedColor ( _
ByRef colorCategory As Guid, _
colorName As String, _
colorType As UInteger _
) As UInteger
uint GetThemedColor(
ref Guid colorCategory,
string colorName,
uint colorType
)
unsigned int GetThemedColor(
[InAttribute] Guid% colorCategory,
[InAttribute] String^ colorName,
[InAttribute] unsigned int colorType
)
abstract GetThemedColor :
colorCategory:Guid byref *
colorName:string *
colorType:uint32 -> uint32
function GetThemedColor(
colorCategory : Guid,
colorName : String,
colorType : uint
) : uint
Parameters
colorCategory
Type: Guid%[in] The color category of the themed color.
colorName
Type: String[in] The color name of the themed color.
colorType
Type: UInt32[in] The color type of the themed color.
Return Value
Type: UInt32
The RGBA value of the themed color.
.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.