分享方式:


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 起可用

另請參閱