IVsLiteTreeList::GetItemCount Method (UInt32)

 

Returns the number of items in the current tree list.

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

int GetItemCount(
	[OutAttribute] unsigned int% pCount
)

Parameters

pCount
Type: System::UInt32

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

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 IVsLiteTreeList::GetItemCount(
  [out] ULONG* pCount
);
Return to top
Show: