Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMetaDataAssemblyImport::EnumExportedTypes Method

Enumerates the exported types referenced in the assembly manifest in the current metadata scope.


HRESULT EnumExportedTypes (
    [in, out] HCORENUM     *phEnum, 
    [out] mdExportedType   rExportedTypes[], 
    [in]  ULONG            cMax, 
    [out] ULONG            *pcTokens
);

Parameters

Parameter Description

phEnum

[in, out] A pointer to the enumerator. This must be a null value when the EnumExportedTypes method is called for the first time.

rExportedTypes

[out] The enumeration of mdExportedType metadata tokens.

cMax

[in] The maximum number of mdExportedType tokens that can be placed in the rExportedTypes array.

pcTokens

[out] The number of mdExportedType tokens actually placed in rExportedTypes.

HRESULT Description

S_OK

EnumExportedTypes returned successfully.

S_FALSE

There are no tokens to enumerate. In this case, pcTokens is set to zero.

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

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.