共用方式為


IVsUIShell4 Interface

Definition

Provides methods for the tool bar.

public interface class IVsUIShell4
public interface class IVsUIShell4
__interface IVsUIShell4
[System.Runtime.InteropServices.Guid("C59CDA92-D99D-42DA-B221-8E36B8DC478E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShell4
public interface IVsUIShell4
[<System.Runtime.InteropServices.Guid("C59CDA92-D99D-42DA-B221-8E36B8DC478E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShell4 = interface
type IVsUIShell4 = interface
Public Interface IVsUIShell4
Attributes

Remarks

This interface is obtained via the <xref:Microsoft.VisualStudio.Shell.Interop.IVsUIShell4.SVsUIShell> service.

Methods

CreateToolbarTray(IOleCommandTarget, IVsToolbarTrayHost)

Attaches toolbars that are not contained inside a IVsWindowFrame.

GetWindowEnum(UInt32, IEnumWindowFrames)

Returns a window enumerator containing the requested types of windows.

SetupToolbar2(IntPtr, IVsToolWindowToolbar, IOleCommandTarget, IVsToolWindowToolbarHost)

Creates a tool bar and also allows the routing of commands placed on the toolbar to a specific command target.

SetupToolbar3(IVsWindowFrame, IVsToolWindowToolbarHost)

Creates a tool bar and also allows routing of commands placed on the toolbar to a specific command target.

Applies to