ICorDebugEval::NewObject Method
Allocates a new object instance and calls the specified constructor method.
This method is obsolete in the .NET Framework version 2.0. Use ICorDebugEval2::NewParameterizedObject instead.
HRESULT NewObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
Parameters
pConstructor
[in] The constructor to be called.nArgs
[in] The size of the ppArgs array.ppArgs
[in] An array of ICorDebugValue objects, each of which represents an argument to be passed to the constructor.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 1.1, 1.0