Partilhar via


IMetaDataImport2::GetGenericParamProps Method

Gets the metadata associated with the generic parameter represented by the specified token.

HRESULT GetGenericParamProps (
    mdGenericParam  gp,
    ULONG           *pulParamSeq,
    DWORD           *pdwParamFlags,
    mdToken         *ptOwner,
    DWORD           *reserved,
    LPWSTR          wzName,
    ULONG           cchName,
    ULONG           *pchName
);

Parameters

Parameter Description

gp

[in] The token that represents the generic parameter for which to return metadata.

pulParamSeq

[out] The ordinal position of the Type parameter in the parent constructor or method.

pdwParamFlags

[out] A value of the CorGenericParamAttr Enumeration enumeration that describes the Type for the generic parameter.

ptOwner

[out] A TypeDef or MethodDef token that represents the owner of the parameter.

reserved

[out] Reserved for future extensibility.

wzName

[out] The name of the generic parameter.

cchName

[in] The size of the wzName buffer.

pchName

[out] The returned size of the name, in wide characters.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0

See Also

Reference

IMetaDataImport2 Interface
IMetaDataImport Interface