Returns the corresponding IVsToolWindowToolbarHost.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public ReadOnly Property ToolbarHost As IVsToolWindowToolbarHost
'使用
Dim instance As DialogContainerWithToolbar
Dim value As IVsToolWindowToolbarHost
value = instance.ToolbarHost
public IVsToolWindowToolbarHost ToolbarHost { get; }
public:
property IVsToolWindowToolbarHost^ ToolbarHost {
IVsToolWindowToolbarHost^ get ();
}
public function get ToolbarHost () : IVsToolWindowToolbarHost
Property Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsToolWindowToolbarHost
Remarks
If no cached value exists, this method queries the shell to retrieve one.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DialogContainerWithToolbar Class