Share via


IMetaDataImport::GetParamForMethodIndex Method

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

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 Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface