实例化新的参数化类型对象并调用对象的构造函数方法。
Syntax
HRESULT NewParameterizedObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
参数
pConstructor [in]指向 ICorDebugFunction 对象的指针,该对象表示要实例化的对象的构造函数。
nTypeArgs [in]传递的类型参数数。
ppTypeArgs [in]指针数组,每个指针指向一个 ICorDebugType 对象,该对象表示正在实例化的对象的类型参数。
nArgs [in]传递给构造函数的参数数。
ppArgs [in]指针数组,每个指针指向一个 ICorDebugValue 对象,该对象表示传递给构造函数的参数值。
注解
对象的构造函数可能采用 Type 参数。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起可用