IMetaDataImport::EnumParams method (rometadataapi.h)
Enumerates ParamDef tokens representing the parameters of the method referenced by the specified MethodDef token.
Syntax
HRESULT EnumParams(
[in, out] HCORENUM *phEnum,
[in] mdMethodDef tkMethodDef,
[out] mdParamDef [] rParams,
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be NULL for the first call of this method.
[in] tkMethodDef
A MethodDef token representing the method with the parameters to enumerate.
[out] rParams
The array used to store the ParamDef tokens.
[in] cMax
The maximum size of the rParams array.
[out] pcTokens
The number of ParamDef tokens returned in rParams.
Return value
HRESULT | Description |
---|---|
S_OK | EnumParams returned successfully. |
S_FALSE | There are no tokens to enumerate. In this case, pcTokens is 0 (zero). |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |