Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |