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.
Checks whether specified item is visible.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnQueryItemVisible ( _
AbsIndex As UInteger, _
<OutAttribute> ByRef pfVisible As Integer _
) As Integer
'Usage
Dim instance As IVsLiteTreeEvents
Dim AbsIndex As UInteger
Dim pfVisible As Integer
Dim returnValue As Integer
returnValue = instance.OnQueryItemVisible(AbsIndex, _
pfVisible)
int OnQueryItemVisible(
uint AbsIndex,
out int pfVisible
)
int OnQueryItemVisible(
[InAttribute] unsigned int AbsIndex,
[OutAttribute] int% pfVisible
)
abstract OnQueryItemVisible :
AbsIndex:uint32 *
pfVisible:int byref -> int
function OnQueryItemVisible(
AbsIndex : uint,
pfVisible : int
) : int
Parameters
- AbsIndex
Type: System.UInt32
[In] An integer containing the Absolute Item Index to query.
- pfVisible
Type: System.Int32%
[Out] A pointer to a Boolean value that return TRUE if the Item is visible, FALSE if not visible.
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 IVsLiteTreeEvents::OnQueryItemVisible(
[in] ULONG AbsIndex,
[out] BOOL *pfVisible
);
.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.