ICorDebugEval2::NewParameterizedObjectNoConstructor Method

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

Syntax

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 System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0