IVsUserContextItemCollection.Count(Int32) 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 collection.
public:
int Count([Runtime::InteropServices::Out] int % pCount);
int Count([Runtime::InteropServices::Out] int & pCount);
public int Count (out int pCount);
abstract member Count : int -> int
Public Function Count (ByRef pCount As Integer) As Integer
Parameters
- pCount
- Int32
[out] Pointer to an integer containing the number of items in the collection.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUserContextItemCollection::Count(
[out, retval] long * pCount
);