Partager via


IVsLiteTreeEvents.OnQueryItemVisible(UInt32, Int32) Method

Definition

Checks whether specified item is visible.

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

Parameters

AbsIndex
UInt32

[In] An integer containing the Absolute Item Index to query.

pfVisible
Int32

[Out] A pointer to a Boolean value that return TRUE if the Item is visible, FALSE if not visible.

Returns

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

Applies to