Export (0) Print
Expand All
Expand Minimize

IMetaDataImport::CountEnum Method

Gets the number of elements in the enumeration that was retrieved by the specified enumerator.

HRESULT CountEnum (
      [in]  HCORENUM    hEnum, 
      [out] ULONG       *pulCount


[in] The handle for the enumerator.


[out] The number of elements enumerated.

The handle specified by hEnum is obtained from a previous EnumName call (for example, IMetaDataImport::EnumTypeDefs).

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

© 2015 Microsoft