IVsLiteTree.QueryItemVisible Method
Indicates whether an item is visible.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function QueryItemVisible ( _
AbsIndex As UInteger, _
<OutAttribute> ByRef pfVisible As Integer _
) As Integer
int QueryItemVisible(
uint AbsIndex,
out int pfVisible
)
int QueryItemVisible(
[InAttribute] unsigned int AbsIndex,
[OutAttribute] int% pfVisible
)
abstract QueryItemVisible :
AbsIndex:uint32 *
pfVisible:int byref -> int
function QueryItemVisible(
AbsIndex : uint,
pfVisible : int
) : int
Parameters
- AbsIndex
Type: System.UInt32
[in] Index of the item's node.
- pfVisible
Type: System.Int32%
[out] Pointer to a Boolean. Set to true if the node is visible; false otherwise.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::QueryItemVisible(
[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.