共用方式為


IVsToolWindowToolbar Interface

Returns the border information and sets the border space for a tool window. Implementers do not need to implement or call this interface.

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

Syntax

'宣告
<GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsToolWindowToolbar
'用途
Dim instance As IVsToolWindowToolbar
[GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")]
[InterfaceTypeAttribute()]
public interface IVsToolWindowToolbar
[GuidAttribute(L"4544D333-8D5F-4517-9113-3550D618F2AD")]
[InterfaceTypeAttribute()]
public interface class IVsToolWindowToolbar
[<GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")>]
[<InterfaceTypeAttribute()>]
type IVsToolWindowToolbar =  interface end
public interface IVsToolWindowToolbar

Remarks

This interface is implemented by the environment and is called from SetupToolbar in response to a VSPackage creating a tool window with CreateToolWindow with a CTW_fToolbarHost flag. The environment then makes available an IVsToolWindowToolbarHost interface that is accessible to the VSPackage by calling GetProperty on the tool window with the VSFPROPID_ToolbarHost property parameter.

Notes to Implementers

Implemented by the environment.

Notes to Callers

Called by the environment.

See Also

Reference

IVsToolWindowToolbar Members

Microsoft.VisualStudio.Shell.Interop Namespace