IMetaDataImport::CloseEnum Method

Closes the enumerator that is identified by the specified handle.

Syntax

void CloseEnum (  
   [in] HCORENUM hEnum  
);  

Parameters

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).

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

IMetaDataImport Interface
IMetaDataImport2 Interface