Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates MethodDef tokens representing methods of the specified type.
Syntax
HRESULT EnumMethods(
[in, out] HCORENUM *phEnum,
[in] mdTypeDef tkTypeDef,
[out] mdMethodDef [] rgMethods,
[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] tkTypeDef
A TypeDef token representing the type with the methods to enumerate.
[out] rgMethods
The array to store the MethodDef tokens.
[in] cMax
The maximum size of the MethodDef rgMethods array.
[out] pcTokens
The number of MethodDef tokens returned in rgMethods.
Return value
HRESULT | Description |
---|---|
S_OK | EnumMethods returned successfully. |
S_FALSE | There are no MethodDef tokens to enumerate. In this case, pcTokens is 0 (zero). |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |