Share via


IEnumDebugAddresses::GetCount

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method returns the number of elements in the enumeration.

Syntax

HRESULT GetCount(  
   [out] ULONG* pcelt  
);  
int GetCount(  
   out uint pcelt  
);  

Parameters

pcelt
[out] Returns the number of elements in the enumeration.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method is not part of the customary COM enumeration interface which specifies that only Next, Clone, Skip, and Reset need to be implemented.

See Also

IEnumDebugAddresses