获取与由指定标记表示的泛型参数关联的元数据。
Syntax
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]表示要为其返回元数据的泛型参数的标记。
              pulParamSeq [out]参数在父构造函数或方法中的序号位置 Type 。
              pdwParamFlags [out]描述泛型参数的 CorGenericParamAttr 枚举 Type 的值。
              ptOwner [out]一个 TypeDef 或 MethodDef 标记,表示参数的所有者。
              reserved [out]保留为将来的扩展性。
              wzName [out]泛型参数的名称。
              cchName [in]缓冲区的大小 wzName 。
              pchName [out]名称的返回大小(以宽字符为单位)。
Requirements
平台: 请参阅 .NET 支持的作系统。
Header: Cor.h
Library: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起可用