共用方式為


ToolWindow.ToolBarHost Property

Gets the IVsToolWindowToolbarHost interface, which determines how toolbars appear in the tool window.

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

Syntax

'宣告
Protected ReadOnly Property ToolBarHost As IVsToolWindowToolbarHost
    Get
protected IVsToolWindowToolbarHost ToolBarHost { get; }
protected:
property IVsToolWindowToolbarHost^ ToolBarHost {
    IVsToolWindowToolbarHost^ get ();
}
member ToolBarHost : IVsToolWindowToolbarHost
function get ToolBarHost () : IVsToolWindowToolbarHost

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsToolWindowToolbarHost
IVsToolWindowToolbarHost .

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace