ICorDebugComObjectValue::GetCachedInterfaceTypes 方法

为当前对象已被封装或用作的接口类型提供枚举器。

语法

HRESULT GetCachedInterfaceTypes(  
    [in] BOOL bIInspectableOnly,  
    [out] ICorDebugTypeEnum **ppInterfacesEnum);  

参数

bIInspectableOnly
[in] 一个值,此值指示方法是只返回 Windows 运行时接口(IInspectable 接口),还是返回由运行时可调用包装器 (RCW) 缓存的所有 COM 接口。

ppInterfacesEnum
[out] 指向 ICorDebugTypeEnum 枚举器的地址的指针,该枚举器提供对 ICorDebugType 对象(表示根据 bIInspectableOnly 筛选的缓存接口类型)的访问权限。

备注

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 4.5 起可用

请参阅