ICorDebugValue2::GetExactType 方法

获取指向“ICorDebugType”对象的接口指针,该对象表示此值的 Type

语法

HRESULT GetExactType (  
    [out] ICorDebugType   **ppType  
);  

参数

ppType
[out] 指向 ICorDebugType 对象地址的指针,该对象表示由此“ICorDebugValue2”对象所表示的值的 Type

备注

泛型感知的 GetExactType 方法同时取代 ICorDebugObjectValue::GetClassICorDebugValue::GetType 方法,每个方法都返回有关值类型的信息。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 2.0 起可用

另请参阅