Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Creates a primitive data object, such as a simple integer.
[in] A value from the OBJECT_TYPE enumeration representing the type of primitive to create.
[out] Returns an IDebugObject representing the newly created object.
If successful, returns S_OK; otherwise, returns an error code.
Call this method to create an object that represents a primitive object that is a parameter to the function which is represented by the IDebugFunctionObject interface. For example, if the expression string is "myString(5)", this method would be used to create an object representing the integer 5.