Partilhar 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 Interface 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 Interface 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugEval2 Interface