다음을 통해 공유


ICorDebugObjectValue Interface

A subclass of ICorDebugValue Interface 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 Interface 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: 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

Reference

ICorDebugObjectValue2 Interface

Other Resources

Debugging Interfaces