IVsObjectList2.GetItemCount(UInt32) Method

Definition

Returns the number of items in the current tree list.

C++/WinRT
int GetItemCount([Runtime::InteropServices::Out] unsigned int & pCount);

Parameters

pCount
UInt32

[out] Pointer to the count of the tree list items.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsObjectList2::GetItemCount(  
   [out] ULONG* pCount  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022