Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of elements in the enumeration that was retrieved by the specified enumerator.
Syntax
HRESULT CountEnum(
[in] HCORENUM hEnum,
[out, retval] ULONG *pulCount
);
Parameters
[in] hEnum
The handle for the enumerator.
[out, retval] pulCount
The number of elements enumerated.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The handle specified by hEnum is obtained from a previous EnumName call (for example, IMetaDataImport::EnumTypeDefs).
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |