title: Expression2.MakeObjectID doesn't return a value- how can I obtain the new object id?
body: <p>The <a href="https://msdn.microsoft.com/en-us/library/envdte100.expression2.makeobjectid.aspx" rel="nofollow"><code>Expression2.MakeObjectID</code></a> method creates a debug object ID, just like right-clicking a value in the debugger and selecting 'Make Object ID.'</p>
  
  <p>I would like to be able to get that ID (such as 1#, 2#, 3#) for the expression and display it. <code>Expression2.Name</code>, <code>.Type</code> and <code>.Value</code> do not return the ID.
  <a href="https://msdn.microsoft.com/en-us/library/ee886480.aspx" rel="nofollow"><code>Debugger5.ExecuteStatement(expression.Name)</code></a> prints the expression's value and ID to the command window but I don't know how to read from that window, and I'd rather not write in it. There has to be a way to evaluate a statement and have it return the result instead of printing it to a window.</p>
  
  <p>Does anyone know what steps I might take next?</p>