Edit

Share via


IMetaDataImport::GetParamForMethodIndex Method

Gets the token that represents a specified parameter of the method represented by the specified MethodDef token.

Syntax

HRESULT GetParamForMethodIndex (
   [in]  mdMethodDef      md,
   [in]  ULONG            ulParamSeq,
   [out] mdParamDef       *ppd
);

Parameters

md [in] A token that represents the method to return the parameter token for.

ulParamSeq [in] The ordinal position in the parameter list where the requested parameter occurs. Parameters are numbered starting from one, with the method's return value in position zero.

ppd [out] A pointer to a ParamDef token that represents the requested parameter.

Requirements

Platforms: See .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also