Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets an enumerator for an array of MethodSpec tokens associated with the specified MethodDef or MemberRef token.
Syntax
HRESULT EnumMethodSpecs(
[in, out] HCORENUM *phEnum,
[in] mdToken tk,
[out] mdMethodSpec [] rMethodSpecs,
[in] ULONG cMax,
[out] ULONG *pcMethodSpecs
);
Parameters
[in, out] phEnum
pointer to the enumerator for rMethodSpecs.
[in] tk
The MemberRef or MethodDef token that represents the method whose MethodSpec tokens are to be enumerated. If the value of tk is 0 (zero), all MethodSpec tokens in the scope will be enumerated.
[out] rMethodSpecs
The array of MethodSpec tokens to enumerate.
[in] cMax
The requested maximum number of tokens to place in rMethodSpecs.
[out] pcMethodSpecs
The returned number of tokens placed in rMethodSpecs.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumMethodSpecs returned successfully. |
| S_FALSE | phEnum has no member elements. In this case, pcMethodSpecs is set to 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |