Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMetaDataAssemblyImport::EnumAssemblyRefs Method

Enumerates the mdAssemblyRef instances that are defined in the assembly manifest.

HRESULT EnumAssemblyRefs (
    [in, out] HCORENUM        *phEnum, 
    [out]     mdAssemblyRef   rAssemblyRefs[], 
    [in]      ULONG           cMax, 
    [out]     ULONG           *pcTokens
);
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.

HRESULT

Description

S_OK

EnumAssemblyRefs returned successfully.

S_FALSE

There are no tokens to enumerate. In this case, pcTokens is set to zero.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.