Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Enumerates MethodBody and MethodDeclaration tokens representing methods of the specified type.
Syntax
HRESULT EnumMethodImpls (
[in, out] HCORENUM *phEnum,
[in] mdTypeDef td,
[out] mdToken rMethodBody[],
[out] mdToken rMethodDecl[],
[in] ULONG cMax,
[in] ULONG *pcTokens
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be NULL for the first call of this method.
td
[in] A TypeDef token for the type whose method implementations to enumerate.
rMethodBody
[out] The array to store the MethodBody tokens.
rMethodDecl
[out] The array to store the MethodDeclaration tokens.
cMax
[in] The maximum size of the rMethodBody and rMethodDecl arrays.
pcTokens
[in] The actual number of methods returned in rMethodBody and rMethodDecl.
Return Value
| HRESULT | Description |
|---|---|
S_OK |
EnumMethodImpls returned successfully. |
S_FALSE |
There are no method tokens to enumerate. In that case, pcTokens is zero. |
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib