Gets a pointer to a new ICorDebugValue of the specified type, with an initial value of zero or null.
CreateValueForType generalizes ICorDebugEval::CreateValue by allowing you to specify an arbitrary object type, including constructed types such as List<int>. The only purpose of this method is to generate a value that can be passed to a function evaluation.
The type must be a class or a value type. You cannot use this method to create array values or string values.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0