Partager via


IVsUIShell5 Interface

Extends the functionality of the IVsUIShell interface by providing access to additional window functionalities.

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
<GuidAttribute("2B70EA30-51F2-48BB-ABA8-051946A37283")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsUIShell5
[GuidAttribute("2B70EA30-51F2-48BB-ABA8-051946A37283")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShell5
[GuidAttribute(L"2B70EA30-51F2-48BB-ABA8-051946A37283")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsUIShell5
[<GuidAttribute("2B70EA30-51F2-48BB-ABA8-051946A37283")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShell5 =  interface end
public interface IVsUIShell5

The IVsUIShell5 type exposes the following members.

Methods

  Name Description
Public method _VtblGap1_1
Public method _VtblGap2_3
Public method CreateThemedImageList
Public method EnumKeyBindingScopes Retrieves a collection of the available key binding scopes.
Public method GetKeyBindingScope Retrieves the name of a key binding scope.
Public method GetOpenFileNameViaDlgEx2 Brings up the File Open dialog box to obtain a specified open file.
Public method GetThemedColor Gets the current RGBA value of a themed color. This method fails if the color does not exist.
Public method ThemeDIBits
Public method ThemeWindow

Top

Extension Methods

  Name Description
Public Extension Method GetThemedColorRgba Gets and unsigned integer VS_RGBA value from the current theme for the given color key. The returned value has the red channel in the low byte and the alpha channel in the high byte. (Defined by VsColors.)
Public Extension Method GetThemedGDIColor Gets a Color value from the current theme for the given color key. (Defined by VsColors.)
Public Extension Method GetThemedWPFColor Gets a Color value from the current theme for the given color key. (Defined by VsColors.)

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace