ICorDebugComObjectValue 介面ICorDebugComObjectValue Interface

提供方法,以取得與執行時間可呼叫包裝函式相關聯 (RCW) 的相關資訊。Provides methods to retrieve information associated with a runtime callable wrapper (RCW).


方法Method 描述Description
GetCachedInterfacePointers 方法GetCachedInterfacePointers Method 取得在目前 RCW 上快取的原始介面指標。Gets the raw interface pointers cached on the current RCW.
GetCachedInterfaceTypes 方法GetCachedInterfaceTypes Method 提供目前物件已大寫或作為其使用之介面類別型的列舉值。Provides an enumerator for the interface types that the current object has been cased to or used as.


若要檢查 "ICorDebugValue" 介面的實例是否代表 RCW,偵錯工具會呼叫 QueryInterface "ICorDebugValue" 上的 IID_ICorDebugComObjectValueTo check whether an instance of an "ICorDebugValue" interface represents an RCW, a debugger calls QueryInterface on "ICorDebugValue" with IID_ICorDebugComObjectValue.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.5 起可用Available since 4.5.NET Framework Versions: 自 4.5 起可用Available since 4.5

另請參閱See also