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 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
phEnum
[in, out] A pointer to the enumerator. This must be a null value when the EnumAssemblyRefs method is called for the first time.
rAssemblyRefs
[out] The enumeration of mdAssemblyRef metadata tokens.
cMax
[in] The maximum number of tokens that can be placed in the rAssemblyRefs array.
pcTokens
[out] 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
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib