ICorDebugGenericValue

更新:2007 年 11 月

应用于所有值的 ICorDebugValue 的子类。此接口可为值提供 Get 和 Set 方法。

interface ICorDebugGenericValue : ICorDebugValue {
        
    HRESULT GetValue (
        [out] void     *pTo
    );
        
    HRESULT SetValue (
        [in] void      *pFrom
    );
        
};

方法

方法

说明

ICorDebugGenericValue::GetValue 方法

将值复制到指定的缓冲区。

ICorDebugGenericValue::SetValue 方法

从指定的缓冲区复制新值。

备注

由于 ICorDebugGenericValue 不可进行远程操作,因此它是一个子接口。

对于引用类型,该值是引用而非该引用的内容。

要求

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

**头文件:**CorDebug.idl

**库:**CorGuids.lib

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

请参见

参考

ICorDebugValue

其他资源

调试接口