Freigeben über


IMetaDataImport::GetParamForMethodIndex Method

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

HRESULT GetParamForMethodIndex (
    mdMethodDef      md,
    ULONG            ulParamSeq,
    mdParamDef       *ppd
);

Parameters

Parameter Description

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

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface