次の方法で共有


IVsLiteTree.QueryItemVisible(UInt32, Int32) Method

Definition

Indicates whether an item is visible.

public:
 int QueryItemVisible(System::UInt32 AbsIndex, [Runtime::InteropServices::Out] int % pfVisible);
int QueryItemVisible(unsigned int AbsIndex, [Runtime::InteropServices::Out] int & pfVisible);
public int QueryItemVisible (uint AbsIndex, out int pfVisible);
abstract member QueryItemVisible : uint32 * int -> int
Public Function QueryItemVisible (AbsIndex As UInteger, ByRef pfVisible As Integer) As Integer

Parameters

AbsIndex
UInt32

[in] Index of the item's node.

pfVisible
Int32

[out] Pointer to a Boolean. Set to true if the node is visible; false otherwise.

Returns

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  
);  

Applies to