ICorDebugHeapValue::IsValid Method

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

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

Syntax

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 .NET Framework 2.0, all values are valid until ICorDebugController::Continue is called, at which time the values are invalidated.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0