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 |
---|---|
Gets an interface pointer to the common language runtime (CLR) Type of the object that this ICorDebugObjectValue references. |
|
Not implemented. |
|
Gets an interface pointer to an ICorDebugValue that represents the value of the specified field of the specified class. |
|
Obsolete. Do not call this method. |
|
Not implemented. |
|
Gets a value that indicates whether the object referenced by this ICorDebugObjectValue is a value type. |
|
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