Share via


IVsLiteTree.VisibleItemCount(UInt32) Method

Definition

Returns the number of items displayed.

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

Parameters

pCount
UInt32

[out] Pointer to an integer. The number of visible items in the tree list.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::VisibleItemCount(  
   [out] ULONG *pCount  
);  

Applies to