ICorDebugEval::NewObject Method
Allocates a new object instance and calls the specified constructor method.
This method is obsolete in .NET Framework version 2.0. Use ICorDebugEval2::NewParameterizedObject instead.
Syntax
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: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 1.1, 1.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.