IVsSimpleObjectList2.GetItemCount(UInt32) Method

Definition

Returns the number of items in the current tree list.

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

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:

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

Applies to