Edit

Share via


ICorDebugEval::NewObjectNoConstructor Method

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

This method is obsolete. 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 .NET supported operating systems.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET versions: 1.1, 1.0

See also