Share via


ICorDebugObjectValue Interface

A subclass of ICorDebugValue that represents a value that contains an object.

interface ICorDebugObjectValue : ICorDebugValue {
    
    HRESULT GetClass (
        [out] ICorDebugClass     **ppClass
    );
    
    HRESULT GetContext (
        [out] ICorDebugContext   **ppContext
    );
    
    HRESULT GetFieldValue (
        [in] ICorDebugClass      *pClass,
        [in] mdFieldDef          fieldDef,
        [out] ICorDebugValue     **ppValue
    );
    
    HRESULT GetManagedCopy (
        [out] IUnknown           **ppObject
    );
    
    HRESULT GetVirtualMethod (
        [in] mdMemberRef         memberRef,
        [out] ICorDebugFunction  **ppFunction
    );
    
    HRESULT IsValueClass (
        [out] BOOL               *pbIsValueClass
    );
    
    HRESULT SetFromManagedCopy (
        [in] IUnknown            *pObject
    );
    
};

Methods

Method

Description

ICorDebugObjectValue::GetClass Method

Gets an interface pointer to the common language runtime (CLR) Type of the object that this ICorDebugObjectValue references.

ICorDebugObjectValue::GetContext Method

Not implemented.

ICorDebugObjectValue::GetFieldValue Method

Gets an interface pointer to an ICorDebugValue that represents the value of the specified field of the specified class.

ICorDebugObjectValue::GetManagedCopy Method

Obsolete. Do not call this method.

ICorDebugObjectValue::GetVirtualMethod Method

Not implemented.

ICorDebugObjectValue::IsValueClass Method

Gets a value that indicates whether the object referenced by this ICorDebugObjectValue is a value type.

ICorDebugObjectValue::SetFromManagedCopy Method

Obsolete. Do not call this method.

Remarks

An ICorDebugObjectValue remains valid until the process being debugged is continued.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugObjectValue2 Interface

Other Resources

Debugging Interfaces