IMetaDataAssemblyImport::EnumFiles Method
Enumerates the files referenced in the current assembly manifest.
Syntax
HRESULT EnumFiles (
[in, out] HCORENUM *phEnum,
[out] mdFile rFiles[],
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be a null value for the first call of this method.
rFiles
[out] The array used to store the mdFile
metadata tokens.
cMax
[in] The maximum number of mdFile
tokens that can be placed in rFiles
.
pcTokens
[out] The number of mdFile
tokens actually placed in rFiles
.
Return Value
HRESULT | Description |
---|---|
S_OK |
EnumFiles returned successfully. |
S_FALSE |
There are no tokens to enumerate. In this case, pcTokens is set to zero. |
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.