ICorDebugILFrame2::EnumerateTypeParameters 方法

获取一个包含此帧中的 Type 参数的 ICorDebugTypeEnum 对象。

HRESULT EnumerateTypeParameters (
    [out] ICorDebugTypeEnum    **ppTyParEnum
);

参数

  • ppTyParEnum
    一个指针,它指向允许枚举类型参数的 ICorDebugTypeEnum 接口对象的地址。

    类型参数的列表包括类类型参数(如果有),后跟方法类型参数(如果有)。

备注

使用 IMetaDataImport2::EnumGenericParams 方法可确定此列表中包含多少个类类型参数和方法类型参数。

类型参数并非始终可用。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugILFrame2 接口