Share via


ICorDebugGenericValue Interface

A subclass of ICorDebugValue that applies to all values. This interface provides Get and Set methods for the value.

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

Methods

Method

Description

ICorDebugGenericValue::GetValue Method

Copies the value into the specified buffer.

ICorDebugGenericValue::SetValue Method

Copies a new value from the specified buffer.

Remarks

ICorDebugGenericValue is a sub-interface because it is non-remotable.

For reference types, the value is the reference rather than the contents of the reference.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugValue Interface

Debugging Interfaces