Поделиться через


IVsUIShell4 Interface

Provides methods for the tool bar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("C59CDA92-D99D-42DA-B221-8E36B8DC478E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsUIShell4
[GuidAttribute("C59CDA92-D99D-42DA-B221-8E36B8DC478E")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShell4
[GuidAttribute(L"C59CDA92-D99D-42DA-B221-8E36B8DC478E")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsUIShell4
[<GuidAttribute("C59CDA92-D99D-42DA-B221-8E36B8DC478E")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShell4 =  interface end
public interface IVsUIShell4

The IVsUIShell4 type exposes the following members.

Methods

  Name Description
Public method CreateToolbarTray Attaches toolbars that are not contained inside a IVsWindowFrame.
Public method GetWindowEnum Returns a window enumerator containing the requested types of windows.
Public method SetupToolbar2 Creates a tool bar and also allows the routing of commands placed on the toolbar to a specific command target.
Public method SetupToolbar3 Creates a tool bar and also allows routing of commands placed on the toolbar to a specific command target.

Top

Remarks

This interface is obtained via the SVsUIShell service.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace