Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.49 KB

icordebugheapvalue-isvalid-method.md

File metadata and controls

53 lines (39 loc) · 1.49 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorDebugHeapValue::IsValid Method
ICorDebugHeapValue::IsValid Method
03/30/2017
ICorDebugHeapValue.IsValid
mscordbi.dll
COM
ICorDebugHeapValue::IsValid
IsValid method [.NET Framework debugging]
ICorDebugHeapValue::IsValid method [.NET Framework debugging]
68e20e62-203d-46d8-bb91-8d3c61cfacc3
apiref

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: [!INCLUDEnet_current_v10plus]