Partager via


ICorDebugHeapValue::IsValid Method

Gets a value that indicates whether the object represented by this ICorDebugHeapValue is valid.

This method has been deprecated in the .NET Framework version 2.0.

HRESULT IsValid (
    [out] BOOL    *pbValid
);

Parameters

  • pbValid
    [out] A pointer to a Boolean value that indicates whether this value on the heap is valid.

Remarks

The value is invalid if it has been reclaimed by the garbage collector.

This method has been deprecated. In the .NET Framework 2.0, all values are valid until ICorDebugController::Continue Method is called, at which time the values are invalidated.

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

ICorDebugHeapValue Interface