ICorDebugEval::NewString Method

Allocates a new string instance with the specified contents.

HRESULT NewString (
    [in] LPCWSTR   string
);

Parameters

  • string
    [in] Pointer to the contents for the string.

Remarks

The string is always created in the application domain in which the thread is currently executing.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugEval Interface