title: How to attach a file to work item in TFS without physical file path?
body: <p>I have an object of type <code>Microsoft.Office.Interop.Outlook.Attachment</code> and I want to attach it to a TFS work item (<code>Microsoft.TeamFoundation.WorkItemTracking.Client.Microsoft.TeamFoundation.WorkItemTracking.Client</code>)</p>
  
  <p>Unfortunately I found just one way to add attachment to <code>Microsoft.TeamFoundation.WorkItemTracking.Client.Microsoft.TeamFoundation.WorkItemTracking.Client</code> that needs physical path of file. But in my case, I have a file in memory (of type  <code>Microsoft.Office.Interop.Outlook.Attachment</code>).</p>
  
  <p>How I can attach my file to TFS work item?</p>
  
  <p><strong>Attention: This code is not answer of my question:</strong></p>
  
  <pre><code>workItem.Attachments.Add(new Attachment("PATH OF MY ATTACHMENT", "COMMENT ABOUT ATTACHMENT"));
  </code></pre>
  
  <p>because I haven't any path. Also I don't want to save my file into hard disk because this way has very bad performance.</p>