Share via


ICorDebugEval2::NewParameterizedObjectNoConstructor Method

Instantiates a new parameterized type object of the specified class without attempting to call a constructor method.

HRESULT NewParameterizedObjectNoConstructor (
    [in] ICorDebugClass        *pClass,
    [in] ULONG32               nTypeArgs,
    [in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[]
);

Parameters

  • pClass
    [in] A pointer to an ICorDebugClass object that represents the class 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.

Remarks

The NewParameterizedObjectNoConstructor method will fail if an incorrect number of type arguments or the wrong types of type arguments are passed.

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

See Also

Reference

ICorDebugEval2 Interface