Share via


ICorDebugStringValue Interface

A subclass of ICorDebugHeapValue that applies to string values.

interface ICorDebugStringValue : ICorDebugHeapValue {
        
    HRESULT GetLength (
        [out] ULONG32   *pcchString
    );
        
    HRESULT GetString (
        [in] ULONG32    cchString,
        [out] ULONG32   *pcchString,
        [out, size_is(cchString), length_is(*pcchString)] 
            WCHAR       szString[]
    );
        
};

Methods

Method

Description

ICorDebugStringValue::GetLength Method

Gets the number of characters in the string referenced by this ICorDebugStringValue.

ICorDebugStringValue::GetString Method

Gets the string referenced by this ICorDebugStringValue.

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

Concepts

Debugging Interfaces

ICorDebugHeapValue Interface