共用方式為


DialogContainerWithToolbar.ToolbarHost Property

Returns the corresponding IVsToolWindowToolbarHost.

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

Syntax

'Declaration
Public ReadOnly Property ToolbarHost As IVsToolWindowToolbarHost
public IVsToolWindowToolbarHost ToolbarHost { get; }
public:
property IVsToolWindowToolbarHost^ ToolbarHost {
    IVsToolWindowToolbarHost^ get ();
}
member ToolbarHost : IVsToolWindowToolbarHost with get
function get ToolbarHost () : IVsToolWindowToolbarHost

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