IVsUIShell6.ThemeWindow Method
Apply the VS-theme to the specified window, for supported window classes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function ThemeWindow ( _
hwnd As IntPtr _
) As Boolean
bool ThemeWindow(
IntPtr hwnd
)
bool ThemeWindow(
[InAttribute] IntPtr hwnd
)
abstract ThemeWindow :
hwnd:IntPtr -> bool
function ThemeWindow(
hwnd : IntPtr
) : boolean
Parameters
hwnd
Type: IntPtrThe handle of the window.
Return Value
Type: Boolean
The HRESULT.
.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.