Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Enumerates the exported types referenced in the assembly manifest in the current metadata scope.
Syntax
HRESULT EnumExportedTypes(
[in, out] HCORENUM *phEnum,
[out] mdExportedType [] rExportedTypes,
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be a null value when the EnumExportedTypes method is called for the first time.
[out] rExportedTypes
The enumeration of mdExportedType metadata tokens.
[in] cMax
The maximum number of mdExportedType tokens that can be placed in the rExportedTypes array.
[out] pcTokens
The number of mdExportedType tokens actually placed in rExportedTypes.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumExportedTypes returned successfully. |
| S_FALSE | There are no tokens to enumerate. In this case, pcTokens is set to zero. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |