Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the current RGBA value of a themed color. This method fails if the color does not exist.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.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.