分配新的对象实例并调用指定的构造函数方法。
此方法已过时。 请改用 ICorDebugEval2::NewParameterizedObject 。
Syntax
HRESULT NewObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
参数
pConstructor [in]要调用的构造函数。
nArgs [in]数组的大小 ppArgs 。
ppArgs [in]ICorDebugValue 对象的数组,每个对象表示要传递给构造函数的参数。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 1.1、1.0