Freigeben über


IMetaDataImport::CloseEnum Method

Closes the enumerator that is identified by the specified handle.

HRESULT CloseEnum (
    HCORENUM hEnum
);

Parameters

Parameter Description

hEnum

[in] The handle for the enumerator to close.

Remarks

The handle specified by hEnum is obtained from a previous EnumName call (for example, IMetaDataImport::EnumTypeDefs Method).

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface