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.
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 EnumName call (for example, IMetaDataImport::EnumTypeDefs).
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0