IVsLiteTreeEvents::OnQueryItemVisible Method (UInt32, Int32)

 

Checks whether specified item is visible.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int OnQueryItemVisible(
	unsigned int AbsIndex,
	[OutAttribute] int% pfVisible
)

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.

From vsshell.idl:

HRESULT IVsLiteTreeEvents::OnQueryItemVisible(
   [in] ULONG AbsIndex, 
   [out] BOOL *pfVisible
);
Return to top
Show: