Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataAssemblyImport::EnumExportedTypes method

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

Syntax


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

Parameters

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.

Return value

HRESULTDescription
S_OKEnumExportedTypes returned successfully.
S_FALSEThere are no tokens to enumerate. In this case, pcTokens is set to zero.

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataAssemblyImport

 

 

Show: