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

ICorDebugHeapValue Interface

Other Resources

Debugging Interfaces