다음을 통해 공유


IMetaDataImport2::GetGenericParamProps Method

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

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

Parameters

  • 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 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

Concepts

IMetaDataImport2 Interface

IMetaDataImport Interface