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: 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