Freigeben über


IMetaDataImport::GetParamProps Method

Gets metadata values for the parameter referenced by the specified ParamDef token.

HRESULT GetParamProps (
    mdParamDef      tk,
    mdMethodDef     *pmd,
    ULONG           *pulSequence,
    LPWSTR          szName,
    ULONG           cchName,
    ULONG           *pchName,
    DWORD           *pdwAttr,
    DWORD           *pdwCPlusTypeFlag,
    UVCP_CONSTANT   *ppValue,
    ULONG           *pcchValue
);

Parameters

Parameter Description

tk

[in] A ParamDef token that represents the parameter to return metadata for.

pmd

[out] A pointer to a MethodDef token representing the method that takes the parameter.

pulSequence

[out] The ordinal position of the parameter in the method argument list.

szName

[out] A buffer to hold the name of the parameter.

cchName

[in] The requested size in wide characters of szName.

pchName

[out] The returned size in wide characters of szName.

pdwAttr

[out] A pointer to any attribute flags associated with the parameter.

pdwCPlusTypeFlag

[out] A pointer to a flag specifying that the parameter is a ValueType.

ppValue

[out] A pointer to a constant string returned by the parameter.

pcchValue

[out] The size of ppValue in wide characters, or zero if ppValue does not hold a string.

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