Edit

Share via


ICorDebugEval::NewString Method

Allocates a new string instance with the specified contents.

Syntax

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 supported operating systems.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET versions: Available since .NET Framework 1.0