Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Allows the package to control whether the tool window should be shown or hidden. This method is called by the shell when the user switches to a different window view or context, for example Design, Debugging, Full Screen, etc.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function QueryShowTool ( _
ByRef rguidPersistenceSlot As Guid, _
<OutAttribute> ByRef pfShowTool As Integer _
) As Integer
int QueryShowTool(
ref Guid rguidPersistenceSlot,
out int pfShowTool
)
int QueryShowTool(
[InAttribute] Guid% rguidPersistenceSlot,
[OutAttribute] int% pfShowTool
)
abstract QueryShowTool :
rguidPersistenceSlot:Guid byref *
pfShowTool:int byref -> int
function QueryShowTool(
rguidPersistenceSlot : Guid,
pfShowTool : int
) : int
Parameters
rguidPersistenceSlot
Type: Guid%[in] The GUID of the window.
pfShowTool
Type: Int32%[out] true to show the window, otherwise false.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPackageDynamicToolOwner::QueryShowTool(
[in] REFGUID rguidPersistenceSlot,
[out] BOOL *pfShowTool
);
.NET Framework Security
- 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.