Compartir a través de


IVsUserContextItemCollection.Count(Int32) Method

Definition

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  
);  

Applies to