Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |