Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NewObject Method

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[]


[in] The constructor to be called.


[in] The size of the ppArgs array.


[in] An array of ICorDebugValue objects, each of which represents an argument to be passed to the constructor.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 1.1, 1.0

© 2015 Microsoft