Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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[]
);
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.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.