หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Enumerates ParamDef tokens representing the parameters of the method referenced by the specified MethodDef token.
Syntax
HRESULT EnumParams (
[in, out] HCORENUM *phEnum,
[in] mdMethodDef mb,
[out] mdParamDef rParams[],
[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.
mb
[in] A MethodDef token representing the method with the parameters to enumerate.
rParams
[out] The array used to store the ParamDef tokens.
cMax
[in] The maximum size of the rParams array.
pcTokens
[out] 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 that case, pcTokens is zero. |
Requirements
Platform: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib