共用方式為


DialogContainerWithToolbar.ToolbarHost Property

Returns the corresponding IVsToolWindowToolbarHost.

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

Syntax

'宣告
Public ReadOnly Property ToolbarHost As IVsToolWindowToolbarHost
public IVsToolWindowToolbarHost ToolbarHost { get; }

Property Value

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

Remarks

If no cached value exists, this method queries the shell to retrieve one.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

Microsoft.VisualStudio.Shell Namespace