Freigeben über


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
'Usage
Dim instance As IVsLiteTree
Dim AbsIndex As UInteger
Dim pfVisible As Integer
Dim returnValue As Integer

returnValue = instance.QueryItemVisible(AbsIndex, _
    pfVisible)
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

  • 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

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace