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 use dynamic logic to control whether the ToolWindow should be shown or hidden.
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
'Usage
Dim instance As IVsPackageDynamicToolOwner
Dim rguidPersistenceSlot As Guid
Dim pfShowTool As Integer
Dim returnValue As Integer
returnValue = instance.QueryShowTool(rguidPersistenceSlot, _
pfShowTool)
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: System.Guid%
[in]
- pfShowTool
Type: System.Int32%
[out]
Return Value
Type: System.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.
See Also
Reference
IVsPackageDynamicToolOwner Interface