ICorDebugEval::NewObjectNoConstructor Method

Allocates a new object instance of the specified type, without attempting to call a constructor method.

This method is obsolete in .NET Framework version 2.0. Use ICorDebugEval2::NewParameterizedObjectNoConstructor instead.

Syntax

HRESULT NewObjectNoConstructor (  
    [in] ICorDebugClass     *pClass  
);  

Parameters

pClass
[in] Pointer to an ICorDebugClass object that represents the type of object to be instantiated.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 1.1, 1.0

See also