Share via


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 Interface 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 Interface 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 Interface object that represents an argument value that is passed to the constructor.

Remarks

The object's constructor may take Type parameters.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugEval2 Interface