Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
Enumerates TypeRef tokens defined in the current metadata scope.
Syntax
HRESULT EnumTypeRefs(
[in, out] HCORENUM *phEnum,
[out] mdTypeRef [] rgTypeRefs,
[in] ULONG cMax,
[out, retval] ULONG *pcTypeRefs
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be NULL for the first call of this method.
[out] rgTypeRefs
The array used to store the TypeRef tokens.
[in] cMax
The maximum size of the rgTypeRefs array.
[out, retval] pcTypeRefs
A pointer to the number of TypeRef tokens returned in rgTypeRefs.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumTypeRefs returned successfully. |
| S_FALSE | There are no tokens to enumerate. In this case, pcTypeRefs is 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |