IVsObjectList2.GetItemCount(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : uint32 -> 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:
[C++]
HRESULT IVsObjectList2::GetItemCount(
[out] ULONG* pCount
);