Partager via


ICorDebugEval::NewObjectNoConstructor Method

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

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

HRESULT NewObjectNoConstructor (
    [in] ICorDebugClass     *pClass
);

Parameters

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

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 1.1, 1.0

See Also

Concepts

ICorDebugEval Interface

ICorDebugEval2::NewParameterizedObjectNoConstructor Method