Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
Enumerates the mdAssemblyRef instances that are defined in the assembly manifest.
Syntax
HRESULT EnumAssemblyRefs(
[in, out] HCORENUM *phEnum,
[out] mdAssemblyRef [] rAssemblyRefs,
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be a null value when the EnumAssemblyRefs method is called for the first time.
[out] rAssemblyRefs
The enumeration of mdAssemblyRef metadata tokens.
[in] cMax
The maximum number of tokens that can be placed in the rAssemblyRefs array.
[out] pcTokens
The number of tokens actually placed in rAssemblyRefs.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumAssemblyRefs 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 |