Compartilhar 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface