IVsPackageDynamicToolOwnerEx.QueryShowTool Method (Guid, UInt32, Int32)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
abstract QueryShowTool : rguidPersistenceSlot:Guid byref * dwId:uint32 * pfShowTool:int byref -> int
Parameters
- rguidPersistenceSlot
-
Type:
System.Guid
[in] The GUID of the window.
- dwId
-
Type:
System.UInt32
[in] The instance ID of the tool window.
- pfShowTool
-
Type:
System.Int32
[out] true if the tool window is to be displayed, otherwise false.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: