Delen via


IMetaDataImport::CloseEnum Method

Closes the enumerator that is identified by the specified handle.

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

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface

Change History

Date

History

Reason

July 2009

Corrected the return type, from HRESULT to void.

Content bug fix.