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 MethodDef tokens representing methods of the specified type.
Syntax
HRESULT EnumMethods (
[in, out] HCORENUM *phEnum,
[in] mdTypeDef cl,
[out] mdMethodDef rMethods[],
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be NULL for the first call of this method.
cl
[in] A TypeDef token representing the type with the methods to enumerate.
rMethods
[out] The array to store the MethodDef tokens.
cMax
[in] The maximum size of the MethodDef rMethods array.
pcTokens
[out] The number of MethodDef tokens returned in rMethods.
Return Value
| HRESULT | Description |
|---|---|
S_OK |
EnumMethods returned successfully. |
S_FALSE |
There are no MethodDef tokens to enumerate. In that case, pcTokens is zero. |
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib