IVsPackageDynamicToolOwnerEx.QueryShowTool(Guid, UInt32, Int32) Method        
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the VSPackage to control whether to show or hide the tool window. The shell calls this method when the user switches views or contexts, for example Design, Debugging, Full Screen.
public:
 int QueryShowTool(Guid % rguidPersistenceSlot, System::UInt32 dwId, [Runtime::InteropServices::Out] int % pfShowTool);public int QueryShowTool(ref Guid rguidPersistenceSlot, uint dwId, out int pfShowTool);abstract member QueryShowTool : Guid * uint32 * int -> intPublic Function QueryShowTool (ByRef rguidPersistenceSlot As Guid, dwId As UInteger, ByRef pfShowTool As Integer) As IntegerParameters
- rguidPersistenceSlot
- Guid
[in] The GUID of the window.
- dwId
- UInt32
[in] The instance ID of the tool window.
- pfShowTool
- Int32
[out] true if the tool window is to be displayed, otherwise false.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.