IMetaDataImport::CountEnum Method
Gets the number of elements in the enumeration that was retrieved by the specified enumerator.
Syntax
HRESULT CountEnum (
[in] HCORENUM hEnum,
[out] ULONG *pulCount
);
Parameters
hEnum
[in] The handle for the enumerator.
pulCount
[out] The number of elements enumerated.
Remarks
The handle specified by hEnum
is obtained from a previous Enum
Name call (for example, IMetaDataImport::EnumTypeDefs).
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.