ICorDebugEval2::NewParameterizedObject Method
Instantiates a new parameterized type object and calls the object's constructor method.
HRESULT NewParameterizedObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
Parameters
pConstructor
[in] A pointer to an ICorDebugFunction object that represents the constructor of the object to be instantiated.nTypeArgs
[in] The number of type arguments passed.ppTypeArgs
[in] An array of pointers, each of which points to an ICorDebugType object that represents a type argument for the object that is being instantiated.nArgs
[in] The number of arguments passed to the constructor.ppArgs
[in] An array of pointers, each of which points to an ICorDebugValue object that represents an argument value that is passed to the constructor.
Remarks
The object's constructor may take Type parameters.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0